Usability: Added filterbutton 'Alle anzeigen, die auf Empfehlung von LektorIn warten'

The filterbutton was added to the STGLs Overview site.

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-03-30 17:02:15 +02:00
committed by cris-technikum
parent 9ee473d9bd
commit d53d91d7d1
3 changed files with 35 additions and 0 deletions
@@ -170,6 +170,16 @@ $(function(){
);
});
// Show only rows that are in progress by lector
$("#show-inProgressLektor").click(function(){
$('#tableWidgetTabulator').tabulator('setFilter',
[
{field: 'status_kurzbz', type: '=', value: ANRECHNUNGSTATUS_PROGRESSED_BY_LEKTOR},
{field: 'empfehlung_anrechnung', type: '=', value: null}
]
);
});
// Show only rows with empfohlene + noch nicht genehmigte/abgelehnte anrechnungen
$("#show-recommended").click(function(){
$('#tableWidgetTabulator').tabulator('setFilter',