From 3d82299ca2ebde5561365e618ea8c59d9a8c7a72 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 27 Oct 2020 12:23:45 +0000 Subject: [PATCH] Bug 25614: Move ILL request keyword filter to sidebar On the ILL request list page there are two filters for the table: One in the sidebar and one configured automatically by the DataTables plugin. I think these two systems are conflicting somehow to prevent the "clear filter" button in the table toolbar from working correctly. This patch doesn't fix the bug but avoids it: Since the filter field in the table toolbar is duplicating the functionality of the form in the sidebar, we could hide it and rely on the sidebar filter instead. To test, apply the patch and go to the ILL requests page in the staff interface. - The table of requests should display without a search form or "clear filter" button at the top. - The left-hand sidebar form should now have a "keyword" filter option which searches any column in the table. - Other filter fields should work as before. Signed-off-by: David Nind --- .../prog/en/modules/ill/ill-requests.tt | 4 ++++ koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index b6a40a17f0..1d57e28fa8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -38,6 +38,10 @@

Filters

  1. + + +
  2. +