From 4ce26edcdf2edc7b3fbb9e54f110d41eb8da27b0 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Wed, 2 Mar 2016 00:36:49 +0000 Subject: [PATCH] Bug 13238: Improve heading on vendor search when searching for all vendors To test: 1) Go to Acquisitions and do an empty vendor search 2) Should now read "Vendor search: X result(s) found" 3) Enter a search term and search for vendor 4) Should now read "Vendor search: Y result(s) found for 'search term'" Sponsored-by: Catalyst IT --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 5e6ff45..0bce0df 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -52,7 +52,11 @@ $(document).ready(function() { [% INCLUDE 'acquisitions-toolbar.inc' %] [% UNLESS ( count == 1 ) %] -

You searched on vendor [% supplier %], [% count %] results found

+ [% IF ( supplier.length < 1 ) %] +

Vendor search: [% count %] result(s) found

+ [% ELSE %] +

Vendor search: [% count %] result(s) found for '[% supplier %]'

+ [% END %] [% END %] [% IF ( loop_suppliers.size ) %] [% UNLESS (count == 1) %] -- 1.7.10.4