Bug 16726: Do not display "You searched for:" if not needed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Oct 2017 14:03:43 +0000 (11:03 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 29 Oct 2017 18:42:50 +0000 (19:42 +0100)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9dca694b04d0f5e5e0a307e0d5243ce61fb1ef79)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1a99731640eb9e500221ffb838677f1eb7aa369d)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt

index 4d7c963..7d884a7 100644 (file)
@@ -76,7 +76,7 @@
     <div class="dialog alert">
         No system preferences matched your search for: <strong>[% searchfield |html %]</strong>
     </div>
-    [% ELSE %]
+    [% ELSIF searchfield %]
         <h1>You searched for: [% searchfield | html %]</h1>
     [% END %]
     [% FOREACH TAB IN TABS %]