From 2800f7c9fb525783a45306102a1958362a58f771 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 2 Jan 2024 20:11:28 +0000 Subject: [PATCH] Bug 35648: Allow sorting of patron categories in Overdue notice/status triggers This patch adds a basic DataTables configuration to the table of patron categories on the Overdue notice/status triggers page. The table can be sorted by patron category and can be filtered. To test, apply the patch and go to Tools -> Overdue notice/status triggers. - Confirm that the table of patron categories is sorted by default by patron category - Other columns should not be sortable - You should see a search field above the table which works to filter by patron category. Signed-off-by: Lucas Gass Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer --- .../prog/en/modules/tools/overduerules.tt | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt index ccb1ae7465..3cfd0939f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt @@ -84,13 +84,13 @@ [% WRAPPER tab_panels %] [% FOR tab IN tabs %] [% WRAPPER tab_panel tabname=tab.id %] - +
- - - - + + + + [% FOREACH mtt IN message_transport_types %] [% NEXT IF mtt == 'itiva' AND !Koha.Preference('TalkingTechItivaPhoneNotification') %] [% NEXT IF mtt == 'phone' AND !Koha.Preference('PhoneNotification') %] @@ -177,6 +177,7 @@ [% MACRO jsinclude BLOCK %] [% Asset.js("js/tools-menu.js") | $raw %] + [% INCLUDE 'datatables.inc' %] [% END %] -- 2.39.5
 DelayLetterRestrictPatron categoryDelayLetterRestrict