Bugzilla – Attachment 85027 Details for
Bug 22130
Batch checkout: authorized value description is never shown with notforloan status
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22130: Correct parameter to get authorized value description.
Bug-22130-Correct-parameter-to-get-authorized-valu.patch (text/plain), 2.38 KB, created by
Josef Moravec
on 2019-02-12 21:37:30 UTC
(
hide
)
Description:
Bug 22130: Correct parameter to get authorized value description.
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-02-12 21:37:30 UTC
Size:
2.38 KB
patch
obsolete
>From ce5860bc8b6b9b9df4584a1538835013416f321b Mon Sep 17 00:00:00 2001 >From: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com> >Date: Mon, 14 Jan 2019 14:02:49 -0500 >Subject: [PATCH] Bug 22130: Correct parameter to get authorized value > description. > >This patch corrects the error that shows an authorized value instead of the obvious description of the document status. > >TEST PLAN >1) In Koha administration, search "BatchCheckouts". >2) Make sure "BatchCheckouts" is set at "Allow". >3) Make sure "BatchCheckoutsValidCategories" contains at least one patron category. >5) Copy the barcode of an item and change the status document so it cannot be loaned. >4) Choose a patron which belongs to the patron category at 3). >(their account should not be expired and they should not have active fees preferably) >5) Go to the patron details page. >6) Click on "Batch check out". >7) Enter the item barcode. >8) Notice a number is in brackets under the column "Information". >9) Apply patch. >10) Notice the status description has replaced the number. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > .../intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >index c4814ea..c295ff5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >@@ -154,7 +154,7 @@ > [% IF checkout_info.itemtype_notforloan %] > <li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li> > [% ELSIF checkout_info.item_notforloan %] >- [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %] >+ [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %] > <li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li> > [% END %] > [% END %] >-- >2.1.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 22130
:
83986
|
85013
|
85027
|
85028
|
85169
|
85170