Bugzilla – Attachment 111328 Details for
Bug 25969
Checking in a found hold at a different branch then confirming the hold causes internal server error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25969: (follow-up) If not coming from hold modal find item by barcode
Bug-25969-follow-up-If-not-coming-from-hold-modal-.patch (text/plain), 1008 bytes, created by
Nick Clemens
on 2020-10-07 12:25:09 UTC
(
hide
)
Description:
Bug 25969: (follow-up) If not coming from hold modal find item by barcode
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2020-10-07 12:25:09 UTC
Size:
1008 bytes
patch
obsolete
>From 8700d5e03a3371c05b9520dd1dd7dc860af00d1c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 7 Oct 2020 12:24:48 +0000 >Subject: [PATCH] Bug 25969: (follow-up) If not coming from hold modal find > item by barcode > >--- > circ/returns.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 6c9718495b..059ecef071 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -419,6 +419,8 @@ if ( $messages->{'ResFound'}) { > my $branchCheck = ( $userenv_branch eq $reserve->{branchcode} ); > if ( $reserve->{'ResFound'} eq "Reserved" && C4::Context->preference('HoldsAutoFill') ) { > my $item = Koha::Items->find( $itemnumber ); >+ # For some cases of holds we don't have the itemnumebr so should find the item by barcode >+ $item = Koha::Items->find({ barcode => $barcode }) unless $item; > my $biblio = $item->biblio; > > my $diffBranchSend = !$branchCheck ? $reserve->{branchcode} : undef; >-- >2.11.0
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 25969
:
106758
|
106771
|
107697
|
109678
|
109755
|
109756
|
110006
|
110007
|
111328
|
111344