unconfigured indexers: don't save the search filter

This commit is contained in:
kaso17 2017-02-07 14:35:11 +01:00
parent d8d437bf1a
commit 510385f709
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ function displayUnconfiguredIndexersList() {
indexersTable.find("table").DataTable(
{
"stateSave": true,
"fnStateSaveParams": function (oSettings, sValue) {
sValue.search.search = ""; // don't save the search filter content
return sValue;
},
"bAutoWidth": false,
"pageLength": -1,
"lengthMenu": [[10, 20, 50, 100, 250, 500, -1], [10, 20, 50, 100, 250, 500, "All"]],