Bugzilla – Attachment 182066 Details for
Bug 38356
CheckPrevCheckout should also check current loans
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38356: (follow-up) Add code block to handle CURRENTISSUE message
0002-Bug-38356-follow-up-Add-code-block-to-handle-CURRENT.patch (text/plain), 1.36 KB, created by
Emmi Takkinen
on 2025-05-08 09:43:27 UTC
(
hide
)
Description:
Bug 38356: (follow-up) Add code block to handle CURRENTISSUE message
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2025-05-08 09:43:27 UTC
Size:
1.36 KB
patch
obsolete
>From 9612dd6bc5cc85670c877742df126b8c670e29da Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Date: Thu, 8 May 2025 12:37:18 +0300 >Subject: [PATCH 2/2] Bug 38356: (follow-up) Add code block to handle > CURRENTISSUE message > >Package C4::SIP::ILS::Transaction::Checkout was missing block to >handle new "CURRENTISSUE" message. This patch adds this block >so tests should no longer fail. > >To test prove t/db_dependent/SIP/Message.t >--- > C4/SIP/ILS/Transaction/Checkout.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/SIP/ILS/Transaction/Checkout.pm b/C4/SIP/ILS/Transaction/Checkout.pm >index b3e9a4d6d7..247ba86ca3 100644 >--- a/C4/SIP/ILS/Transaction/Checkout.pm >+++ b/C4/SIP/ILS/Transaction/Checkout.pm >@@ -112,6 +112,10 @@ sub do_checkout { > $self->screen_msg("This item was previously checked out by you"); > $noerror = 0 if ($prevcheckout_block_checkout); > last; >+ } elsif ( $confirmation eq 'CURRENTISSUE' ) { >+ $self->screen_msg("This item is currently checked out by you"); >+ $noerror = 0 if ($prevcheckout_block_checkout); >+ last; > } elsif ( $confirmation eq 'ADDITIONAL_MATERIALS' ) { > if ($allow_additional_materials_checkout) { > my $item = Koha::Items->find( { barcode => $barcode } ); >-- >2.34.1 >
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 38356
:
180239
|
180305
|
181883
|
181884
|
182064
|
182065
| 182066