From 0773ea8ba09377be3302df72d4fdd1b120345089 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 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 --- .../intranet-tmpl/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 94efaf7..5be78a4 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 @@ -18,7 +18,13 @@ function GetIt(aqbooksellerid,name)

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.1.4