From b61c41f0efebac66d561070d5a3e4533354d90d0 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 Signed-off-by: Claire Gravely Signed-off-by: Kyle M Hall Signed-off-by: Nick Clemens (cherry picked from commit 1d6e9ff44c19379a41e9ce688685a24788583e0c) Signed-off-by: Martin Renvoize --- .../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 fcd6ebaabb..6e28071dd1 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.39.5