Bugzilla – Attachment 89674 Details for
Bug 19457
If CheckPrevCheckout is set to "Do", then checkouts are blocked at the SIPServer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19457: Handle 'PREVISSUE' return by CanBookBeIssued from SIP (CheckPrevCheckout)
Bug-19457-Handle-PREVISSUE-return-by-CanBookBeIssu.patch (text/plain), 1.40 KB, created by
Liz Rea
on 2019-05-13 16:51:43 UTC
(
hide
)
Description:
Bug 19457: Handle 'PREVISSUE' return by CanBookBeIssued from SIP (CheckPrevCheckout)
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-05-13 16:51:43 UTC
Size:
1.40 KB
patch
obsolete
>From 413a28f1efe376360d2802ab6e1add4c98f705d7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 12 Sep 2018 09:38:39 -0700 >Subject: [PATCH] Bug 19457: Handle 'PREVISSUE' return by CanBookBeIssued from > SIP (CheckPrevCheckout) > >If CheckPrevCheckout is set to Do, then checkouts are blocked at the SIPServer > >To test: >- Do not apply this patch >- Set CheckPrevCheckout to "Do", or "Unless overridden, do" >Verify the SIP server is blocking checkouts with this setting set >- Apply this patch >- Note that the checkout is now allowed, with a screen message telling >the borrower they've issued the item before. > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >--- > C4/SIP/ILS/Transaction/Checkout.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/C4/SIP/ILS/Transaction/Checkout.pm b/C4/SIP/ILS/Transaction/Checkout.pm >index 1caf0e72d6..91a22be192 100644 >--- a/C4/SIP/ILS/Transaction/Checkout.pm >+++ b/C4/SIP/ILS/Transaction/Checkout.pm >@@ -96,6 +96,9 @@ sub do_checkout { > $noerror = 0; > last; > } >+ } elsif ($confirmation eq 'PREVISSUE') { >+ $self->screen_msg("This item was previously checked out by you"); >+ last; > } else { > # We've been returned a case other than those above > $self->screen_msg("Item cannot be issued: $confirmation"); >-- >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 19457
:
72187
|
72216
|
72771
|
73858
|
78567
|
78597
|
89674
|
90216