Bugzilla – Attachment 49353 Details for
Bug 13238
Improve heading on vendor search when searching for all vendors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13238: Improve heading on vendor search when searching for all vendors
PASSED-QA-Bug-13238-Improve-heading-on-vendor-sear.patch (text/plain), 1.69 KB, created by
Katrin Fischer
on 2016-03-20 21:40:11 UTC
(
hide
)
Description:
[PASSED QA] Bug 13238: Improve heading on vendor search when searching for all vendors
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-03-20 21:40:11 UTC
Size:
1.69 KB
patch
obsolete
>From 4129a563ac86d80f84bb0c938f5c4f247e834d7e Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Wed, 2 Mar 2016 00:36:49 +0000 >Subject: [PATCH] [PASSED QA] 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 results found" >3) Enter a search term and search for vendor >4) Should now read "Vendor search: Y results found for 'search term'" > >Sponsored-by: Catalyst IT > >NOTE: two nested if/else/end's could make it result/results, > as suggested in comment #3. However, this meets my understanding > of the problem as defined in comment #0. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 edb26d9..20e505b 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 ) %] >-<h1>You searched on <b>vendor [% supplier %],</b> [% count %] results found</h1> >+ [% IF ( supplier.length < 1 ) %] >+ <h1>Vendor search: [% count %] results found</h1> >+ [% ELSE %] >+ <h1>Vendor search: [% count %] results found for '[% supplier %]'</h1> >+ [% END %] > [% END %] > [% IF ( loop_suppliers.size ) %] > [% UNLESS (count == 1) %] >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13238
:
48531
|
48912
|
48915
|
48917
|
49122
|
49351
|
49352
| 49353 |
49354