From bc1152bf3c6fefdbfa72dab8dbbd5c1307183920 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 22 Oct 2020 10:33:41 +0000 Subject: [PATCH] Bug 26769: Remove the use of jquery.checkboxes plugin from staff interface search history This patch modifies the staff interface search history page to eliminate theuse of the jquery.checkboxes plugin. To test you should have some search history items for bibliographic and authority records, both from today and from days previous. Apply the patch and click the logged-in-user link in the staff client header. Choose "Search history." On the search history page, test the "Select all" and "Clear selection" links corresponding to all four tables: - Catalog: Current session - Catalog: Previous sessions - Authority: Current session - Authority: Previous sessions In all cases the links should work correctly, affecting only the corresponding tables. Confirm that the "Select all" action enables the corresponding "Delete" link for each table. Signed-off-by: Lisette Scheer Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../en/modules/catalogue/search-history.tt | 61 +++++++++++-------- 1 file changed, 34 insertions(+), 27 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt index bc109f3fc0..bb50498ae4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt @@ -30,17 +30,17 @@
[% IF ( current_biblio_searches ) %]

Current session

-
- +

@@ -65,19 +65,23 @@ [% END %] + [% IF ( current_biblio_searches && previous_biblio_searches) %] +
+ [% END %] + [% IF ( previous_biblio_searches ) %]

Previous sessions

- - +

@@ -110,17 +114,17 @@
[% IF ( current_authority_searches ) %]

Current session

- - +

@@ -145,19 +149,23 @@ [% END %] + [% IF ( current_authority_searches && previous_authority_searches) %] +
+ [% END %] + [% IF ( previous_authority_searches ) %]

Previous sessions

- - +

@@ -192,7 +200,6 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] - [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]