From c0ea6da0c5a8f4b95c2561b96f40c4433e47fb45 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 3 Aug 2021 12:17:02 +0000 Subject: [PATCH] Bug 28784: (follow-up) Always make three search boxes The previous patch removed search_boxes_loop - that's okay, it was always getting the same three values. If we don't do something in the template though, we get no boxes Ultimately this should be a include, and not a hardcoded loop, but keeping changes small for backporting Signed-off-by: Nick Clemens Signed-off-by: Owen Leonard Signed-off-by: Tomas Cohen Arazi Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt index f5b48f2769..273f19e070 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -36,11 +36,11 @@ [% ELSE %]
[% END # /IF ( expanded_options ) %] - [% FOREACH search_box IN search_boxes_loop %] + [% FOREACH search_box IN [ 1, 2, 3] %]
[% IF ( expanded_options ) %] - [% IF ( search_box.boolean ) %] + [% IF ( !loop.first ) %]