From cc4bcd85db21a570b49a4611781ac3dc1616b33e Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 23 Aug 2016 03:28:20 +0000 Subject: [PATCH] Bug 17165: Improve heading on vendor search when searching for all vendors in Serials MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: 1) Go to Serials 2) Click New subscription or edit an existing one 3) Click Search for a vendor 4) Make a search that will return no results (i.e. has a typo etc.) 5) Confirm there is an appropriate message 6) Go back and make a search that will return results (i.e. putting in one letter 'a' etc.) 7) Confirm that heading is worded better and search term is displayed 8) Go back and make search without entering any search terms 9) Confirm that heading is worded better, no search term is displayed Sponsored-by: Catalyst IT Patch behaves as dexcribed. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../prog/en/modules/serials/acqui-search-result.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt index a46e700f62..a3580ff88d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt @@ -26,7 +26,13 @@ $(document).ready(function(){

Vendor search results

-

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

+[% UNLESS count %] +

Your search returned no results.

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

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

+[% ELSE %] +

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

+[% END %] [% IF ( loop_suppliers ) %] -- 2.39.5