Bugzilla – Attachment 70181 Details for
Bug 19798
Returns.pl doesn't define itemnumber for transfer-slip.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19798: Fix print transfer slip
Bug-19798-Fix-print-transfer-slip.patch (text/plain), 1.24 KB, created by
Jon Knight
on 2017-12-27 21:14:22 UTC
(
hide
)
Description:
Bug 19798: Fix print transfer slip
Filename:
MIME Type:
Creator:
Jon Knight
Created:
2017-12-27 21:14:22 UTC
Size:
1.24 KB
patch
obsolete
>From d7cccd5353b43365ef0d218f7154e8d1bd3cb083 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 Dec 2017 15:51:42 -0300 >Subject: [PATCH] Bug 19798: Fix print transfer slip >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >... and maybe other bugs as well >What happens here is that $itemnumber is no longer set when barcode is >passed. > >Test plan: >1. Check in available/not on hold item at a non owning library. >2. Click print slip >3. Item's info must be displayed on the slip > >Signed-off-by: Björn Nylén <bjorn.nylen@ub.lu.se> >Signed-off-by: Björn Nylén <bjorn.nylen@ub.lu.se> >Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> >--- > circ/returns.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/circ/returns.pl b/circ/returns.pl >index c69310b..0924da5 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -263,6 +263,7 @@ if ($barcode) { > my $item = Koha::Items->find({ barcode => $barcode }); > > if ( $item ) { >+ $itemnumber = $item->itemnumber; > # Check if we should display a checkin message, based on the the item > # type of the checked in item > my $itemtype = Koha::ItemTypes->find( $item->effective_itemtype ); >-- >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 19798
:
69925
|
70169
|
70181
|
70198