Bugzilla – Attachment 173855 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), 1.04 KB, created by
Marcel de Rooy
on 2024-11-01 07:47:56 UTC
(
hide
)
Description:
Bug 35721: (QA follow-up) replace find() with pickup_library()
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-11-01 07:47:56 UTC
Size:
1.04 KB
patch
obsolete
>From a03e6bb607fa40b1181345e3d1f10a5ab15209a0 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() >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > circ/returns.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 8a21788954..99ab42db29 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
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