Bugzilla – Attachment 103758 Details for
Bug 25227
SIP server returns wrong error message if item was lost and not checked out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1 Bug 25227: Display correct message if item is withdrawn and withdrawn returns are allowed
-1-Bug-25227-Display-correct-message-if-item-is-wi.patch (text/plain), 1.20 KB, created by
Kyle M Hall (khall)
on 2020-04-27 11:08:05 UTC
(
hide
)
Description:
1 Bug 25227: Display correct message if item is withdrawn and withdrawn returns are allowed
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-04-27 11:08:05 UTC
Size:
1.20 KB
patch
obsolete
>From 3eeedbc9994b9529ceb82fc2b9e039b33cdcab1a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 27 Apr 2020 07:07:12 -0400 >Subject: [PATCH] 1 Bug 25227: Display correct message if item is withdrawn > and withdrawn returns are allowed > >--- > C4/SIP/ILS.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm >index 94bc15461c..75d4b2b958 100644 >--- a/C4/SIP/ILS.pm >+++ b/C4/SIP/ILS.pm >@@ -220,7 +220,7 @@ sub checkin { > if ( !$circ->ok && $circ->alert_type && $circ->alert_type == 98 ) { # data corruption > $circ->screen_msg("Checkin failed: data problem"); > syslog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" ); >- } elsif ( $data->{messages}->{withdrawn} && !$circ->ok ) { >+ } elsif ( $data->{messages}->{withdrawn} && !$circ->ok && C4::Context->preference("BlockReturnOfWithdrawnItems") ) { > $circ->screen_msg("Item withdrawn, return not allowed"); > syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn"); > } elsif ( $data->{messages}->{WasLost} && !$circ->ok && C4::Context->preference("BlockReturnOfLostItems") ) { >-- >2.24.2 (Apple Git-127)
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 25227
:
103363
|
103739
|
103757
|
103758
|
103762
|
103764
|
103765
|
103766
|
103770
|
103771
|
103772