From b24f94216f026f878bc789758253f5e199b5bd70 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 (cherry picked from commit c0ea6da0c5a8f4b95c2561b96f40c4433e47fb45) Signed-off-by: Fridolin Somers --- 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 fde64ce68b..e913f6f336 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -35,11 +35,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 ) %]