mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
unconfigured indexers: don't save the search filter
This commit is contained in:
parent
d8d437bf1a
commit
510385f709
1 changed files with 4 additions and 0 deletions
|
@ -170,6 +170,10 @@ function displayUnconfiguredIndexersList() {
|
||||||
indexersTable.find("table").DataTable(
|
indexersTable.find("table").DataTable(
|
||||||
{
|
{
|
||||||
"stateSave": true,
|
"stateSave": true,
|
||||||
|
"fnStateSaveParams": function (oSettings, sValue) {
|
||||||
|
sValue.search.search = ""; // don't save the search filter content
|
||||||
|
return sValue;
|
||||||
|
},
|
||||||
"bAutoWidth": false,
|
"bAutoWidth": false,
|
||||||
"pageLength": -1,
|
"pageLength": -1,
|
||||||
"lengthMenu": [[10, 20, 50, 100, 250, 500, -1], [10, 20, 50, 100, 250, 500, "All"]],
|
"lengthMenu": [[10, 20, 50, 100, 250, 500, -1], [10, 20, 50, 100, 250, 500, "All"]],
|
||||||
|
|
Loading…
Reference in a new issue