From d2ac53c7ee4edc02d4ea8442cf1af048ad935ec3 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 3 Aug 2021 12:17:02 +0000 Subject: [PATCH] Bug 28784: [20.05.x] (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: Victor Grousset/tuxayo --- 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 40ab8c35de..3402908a8b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -24,10 +24,10 @@
Search for: - [% FOREACH search_box IN search_boxes_loop %] + [% FOREACH search_box IN [ 1, 2, 3] %]

[% IF ( expanded_options ) %] - [% IF ( search_box.boolean ) %] + [% IF ( !loop.first ) %]