Don't save filters across page reloads for all data tables (fixes #52)

This commit is contained in:
Bernd Bestel
2018-09-08 08:56:32 +02:00
parent 1d5e82c341
commit 496594d898
14 changed files with 69 additions and 13 deletions

View File

@@ -7,7 +7,11 @@
'language': JSON.parse(L('datatables_localization')),
'scrollY': false,
'colReorder': true,
'stateSave': true
'stateSave': true,
'stateSaveParams': function(settings, data)
{
data.search.search = "";
}
});
$("#search").on("keyup", function()