mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
Minor code enhancement
changed clearFilter method; deleted comment
This commit is contained in:
@@ -130,8 +130,6 @@ $(function() {
|
||||
|
||||
// Select all (filtered) rows and ignore rows which have status bestellt
|
||||
$("#select-all").click(function(){
|
||||
//$('#filterTabulator').tabulator('selectRow', true);
|
||||
|
||||
$('#filterTabulator').tabulator('getRows')
|
||||
.filter(row => row.getData().bestellt == null)
|
||||
.forEach((row => row.select()));
|
||||
@@ -144,7 +142,7 @@ $(function() {
|
||||
|
||||
// Show all rows
|
||||
$("#show-all").click(function(){
|
||||
$('#filterTabulator').tabulator('removeFilter', 'bestellt', '=', null);
|
||||
$('#filterTabulator').tabulator('clearFilter');
|
||||
});
|
||||
|
||||
// Show only rows with new lehrauftraege
|
||||
|
||||
Reference in New Issue
Block a user