From 82e5e888976db2f33d02af3ef6d710e3317083b4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 23 Apr 2019 22:49:46 -0400 Subject: [PATCH] Bug 22621: Fix filters on subscription search results Caused by commit 4e698f7b478a094d7b32ebfeaa917bca05ebcc5b Bug 18426: Allow to edit subscriptions in batch There is a shift caused by a hidden column, which make the filters searching on the previous column. Test plan: - Add 1+ searchable additional field for subscription - Create a new subscription - Search for subscriptions - Use the column filters to filter the results => The results must be filtered accordingly --- .../prog/en/modules/serials/serials-search.tt | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt index 6ea103367b..6474c83993 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt @@ -68,17 +68,19 @@ - - - - - - + + + + + + + [% SET column_num = 6 %] [% UNLESS closed %] - + + [% SET column_num = column_num + 1 %] [% END %] [% FOR field IN additional_fields_for_subscription %] - + [% END %] -- 2.11.0