mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Added INITIAL FILTER to LA erteilen
Initial filter is: no dummies, neu or geändert. Now these rows are presented to the user when loading the page.
This commit is contained in:
@@ -179,6 +179,16 @@ $this->load->view(
|
||||
// Custom filters
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
// Filters bestellte initially
|
||||
function func_initialFilter(){
|
||||
return [
|
||||
{field: 'personalnummer', type: '>=', value: 0}, // NOT dummy lector
|
||||
{field: 'bestellt', type: '!=', value: null}, // AND bestellt
|
||||
{field: 'erteilt', type: '=', value: null}, // AND NOT erteilt
|
||||
{field: 'akzeptiert', type: '=', value: null} // AND NOT akzeptiert
|
||||
]
|
||||
}
|
||||
|
||||
// Filters geaenderte
|
||||
function filter_showChanged(data){
|
||||
|
||||
|
||||
@@ -344,6 +344,7 @@ $filterWidgetArray = array(
|
||||
selectableCheck: function(row){
|
||||
return func_selectableCheck(row);
|
||||
},
|
||||
initialFilter: func_initialFilter(),
|
||||
footerElement: func_footerElement(),
|
||||
rowUpdated:function(row){
|
||||
func_rowUpdated(row);
|
||||
|
||||
Reference in New Issue
Block a user