Bugzilla – Attachment 173370 Details for
Bug 35721
Replace ModItemTransfer calls in circ/returns.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35721: (QA follow-up) replace find() with pickup_library()
Bug-35721-QA-follow-up-replace-find-with-pickuplib.patch (text/plain), 982 bytes, created by
Kyle M Hall (khall)
on 2024-10-25 14:23:52 UTC
(
hide
)
Description:
Bug 35721: (QA follow-up) replace find() with pickup_library()
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-10-25 14:23:52 UTC
Size:
982 bytes
patch
obsolete
>From cf682fa445ffb42fe062164b796cf25c1a790876 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 25 Oct 2024 10:21:57 -0400 >Subject: [PATCH] Bug 35721: (QA follow-up) replace find() with > pickup_library() > >--- > circ/returns.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 8a217889542..99ab42db290 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -172,7 +172,7 @@ if ( $query->param('reserve_id') && $op eq 'cud-affect_reserve') { > > my $hold = Koha::Holds->find($reserve_id); > if ($diffBranchSend) { >- my $tobranch = Koha::Libraries->find( $hold->branchcode ); >+ my $tobranch = $hold->pickup_library(); > > # Add transfer, enqueue if one is already in the queue, and immediately set to in transit > my $transfer = $item->request_transfer( { to => $tobranch, reason => 'Reserve', enqueue => 1 } ); >-- >2.39.5 (Apple Git-154)
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 35721
:
160625
|
160631
|
160632
|
160649
|
160665
|
160691
|
168279
|
168280
|
172777
|
173043
|
173044
|
173356
|
173359
|
173360
|
173370
|
173853
|
173854
|
173855