Bugzilla – Attachment 169134 Details for
Bug 37385
Transfer/next hold modals not triggered automatically when cancelling a hold by checking item in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37385: Transfer not triggered automatically when cancelling a hold by checking item in (edit)
Bug-37385-Transfer-not-triggered-automatically-whe.patch (text/plain), 1.37 KB, created by
Lucas Gass (lukeg)
on 2024-07-18 13:16:37 UTC
(
hide
)
Description:
Bug 37385: Transfer not triggered automatically when cancelling a hold by checking item in (edit)
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-07-18 13:16:37 UTC
Size:
1.37 KB
patch
obsolete
>From 3c4ee6af89515ff7fcf3ab5c2efb559dfaa98ca3 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 18 Jul 2024 12:54:30 +0000 >Subject: [PATCH] Bug 37385: Transfer not triggered automatically when > cancelling a hold by checking item in (edit) > >Upadates for CSRF are inadvertently stopping AddReturn from being trigger >when a hold is canceled. This is necessary to generate the transfer >back to the originating library. > >Test Plan: >1) Find item with a waiting hold, and check it in >2) In the popup notifying me of the waiting hold, select 'Cancel hold' >3) Note no second popup appears notifying you of the need to transfer the item to its home library >4) Apply this patch >5) Restart all the things! >6) Repeat steps 1-2 >7) Second popup appears! > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > circ/returns.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 019d8e36c8..f3182464df 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -293,7 +293,7 @@ if ($transit && $op eq 'cud-transfer') { > > # actually return book and prepare item table..... > my $returnbranch; >-if ($barcode && $op eq 'cud-checkin') { >+if ($barcode && ( $op eq 'cud-checkin' || $op eq 'cud-affect_reserve' ) ) { > $barcode = barcodedecode($barcode) if $barcode; > my $item = Koha::Items->find({ barcode => $barcode }); > >-- >2.39.2
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 37385
:
169132
|
169134
|
169161
|
169166