From 65b9766a0a3f1a3e9cdb19ea3c4223ab1cac6828 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Wed, 20 Jul 2016 23:39:42 +0000 Subject: [PATCH] Bug 16950: Serials subscriptions advanced search shows '0 found' pre-search MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: 1) Go to Serials 2) Click Advanced Search in the toolbar at the top 3) Notice heading says Serials subscriptions (0 found) before a search has even happened 4) Apply patch and click Advanced Search again 5) Heading should now say Serials subscriptions search 6) Submit search 7) Heading should say how many subscriptions your search found (like before) Sponsored-by: Catalyst IT Signed-off-by: Marc Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 031219935c41643734de7836ed86b59ed6be5fd1) Signed-off-by: Frédéric Demians --- .../prog/en/modules/serials/serials-search.tt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt index aa0ad03ca2..4ff2414cd0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt @@ -52,7 +52,12 @@
[% INCLUDE 'serials-toolbar.inc' %] -

Serials subscriptions ([% total %] found)

+ [% IF ( done_searched ) %] +

Serials subscriptions ([% total %] found)

+ [% ELSE %] +

Serials subscriptions search

+ [% END %] + [% UNLESS ( done_searched ) %]
-- 2.39.5