From 031219935c41643734de7836ed86b59ed6be5fd1 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 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 --- .../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 f4d5078d52..2aaa0cdd36 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