From 510385f709bd382b490da3459ef17f89e006a43a Mon Sep 17 00:00:00 2001 From: kaso17 Date: Tue, 7 Feb 2017 14:35:11 +0100 Subject: [PATCH] unconfigured indexers: don't save the search filter --- src/Jackett/Content/custom.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Jackett/Content/custom.js b/src/Jackett/Content/custom.js index ea2311436..5c750b256 100644 --- a/src/Jackett/Content/custom.js +++ b/src/Jackett/Content/custom.js @@ -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"]],