From b143d68534e0fab9a7ea13bd0753be34689190a6 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 12 Sep 2014 09:59:12 -0400 Subject: [PATCH] Bug 9043 [QA Followup] - Don't show "More options" are there aren't any Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 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 af9b11134c..12dd94f339 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -359,10 +359,12 @@

- [% IF expanded_options %] - Fewer options - [% ELSIF not expanded_options %] - More options + [% IF OpacAdvSearchMoreOptions.size > 0 %] + [% IF expanded_options %] + Fewer options + [% ELSIF not expanded_options %] + More options + [% END %] [% END %] New search -- 2.39.5