Bugzilla – Attachment 55639 Details for
Bug 10768
Improve the interface related to itemBarcodeFallbackSearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10768 - Improve the interface related to itemBarcodeFallbackSearch
PASSED-QA-Bug-10768---Improve-the-interface-relate.patch (text/plain), 3.23 KB, created by
Katrin Fischer
on 2016-09-18 08:49:59 UTC
(
hide
)
Description:
[PASSED QA] Bug 10768 - Improve the interface related to itemBarcodeFallbackSearch
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-09-18 08:49:59 UTC
Size:
3.23 KB
patch
obsolete
>From 11af85984ca29a19259e3ec018d796b0e2854a0f Mon Sep 17 00:00:00 2001 >From: Andreas Roussos <arouss1980@gmail.com> >Date: Thu, 15 Sep 2016 11:37:19 +0300 >Subject: [PATCH] [PASSED QA] Bug 10768 - Improve the interface related to > itemBarcodeFallbackSearch > >When the itemBarcodeFallbackSearch syspref is on, the wording in the >interface should reflect that you can enter a barcode OR a keyword. >Additionally, in the results of a keyword search the "Fast cataloging" >link should be more descriptive. This patch fixes these issues. > >Test plan: > >0) [PREREQUISITES] Ensure you have a Fast Add ('FA') framework defined, > and that your itemBarcodeFallbackSearch syspref is set to 'Enable'. >1) Go to Circulation -> Check out, search for a patron, then select a > patron to Check out. Notice how the text above the textbox reads > "Enter item barcode:". >2) Type something generic (not a barcode) in the textbox so that you'll > get at least one item as a result. Notice how the text in the yellow > warning box reads "The barcode was not found: <terms> Fast cataloging". >3) Apply the patch. >4) Repeat step 1), now the text above the textbox should read > "Enter item barcode or keyword:". >5) Repeat step 2), now the text in the yellow warning box should read > "The barcode was not found: <terms> Add record using fast cataloging". > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index ce18462..e0284b2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -432,7 +432,7 @@ $(document).ready(function() { > <li>The barcode was not found: <span class="ex">[% barcode |html %]</span> > [% IF ( fast_cataloging ) %] > [% IF ( CAN_user_editcatalogue_fast_cataloging ) %] >- <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Fast cataloging</a> >+ <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% borrowernumber %]&branch=[% branch %]&duedatespec=[% duedatespec %]&stickyduedate=[% stickyduedate %]">Add record using fast cataloging</a> > [% END %] > [% END %] > >@@ -591,7 +591,11 @@ No patron matched <span class="ex">[% message | html %]</span> > > <label class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label> > >- <div class="hint">Enter item barcode:</div> >+ [% IF Koha.Preference('itemBarcodeFallbackSearch') %] >+ <div class="hint">Enter item barcode or keyword:</div> >+ [% ELSE %] >+ <div class="hint">Enter item barcode:</div> >+ [% END %] > > [% IF NEEDSCONFIRMATION %] > <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> >-- >2.7.4
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 10768
:
20497
|
55581
|
55585
|
55590
| 55639