diff --git a/application/views/lehre/lehrauftrag/approveLehrauftrag.php b/application/views/lehre/lehrauftrag/approveLehrauftrag.php index 30dd1d497..ed2bf96a6 100644 --- a/application/views/lehre/lehrauftrag/approveLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/approveLehrauftrag.php @@ -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){ diff --git a/application/views/lehre/lehrauftrag/approveLehrauftragData.php b/application/views/lehre/lehrauftrag/approveLehrauftragData.php index 301f1de96..09899fd8b 100644 --- a/application/views/lehre/lehrauftrag/approveLehrauftragData.php +++ b/application/views/lehre/lehrauftrag/approveLehrauftragData.php @@ -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);