Bugzilla – Attachment 77788 Details for
Bug 21218
Suppress Alert flag when checked_in_ok set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to clear alert flag on checkin of unissued item
0001-Bug-21218-Clear-alert-on-discharge-if-checked_in_ok-.patch (text/plain), 1.15 KB, created by
Colin Campbell
on 2018-08-14 14:05:24 UTC
(
hide
)
Description:
Patch to clear alert flag on checkin of unissued item
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2018-08-14 14:05:24 UTC
Size:
1.15 KB
patch
obsolete
>From 7208e7d8fe0166711f7f1c9c60c5baec98a8d4db Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Tue, 14 Aug 2018 14:14:46 +0100 >Subject: [PATCH] Bug 21218 Clear alert on discharge if checked_in_ok set > >Follows on from bug 13411 If checking in an unissued >item checked_in_ok returns the ok flag and suppresses the information >message. However the alert flag is still set causing >some suppliers' units to route the items into the exceptions >bin. This rather undermines the purpose of the option, >and exasperate staff as there is no indication of why they >are exceptions. >--- > C4/SIP/ILS.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm >index 1bd23c6429..b751df3d33 100644 >--- a/C4/SIP/ILS.pm >+++ b/C4/SIP/ILS.pm >@@ -222,6 +222,7 @@ sub checkin { > } elsif( !$item->{patron} ) { > if( $checked_in_ok ) { # Mark checkin ok although book not checked out > $circ->ok( 1 ); >+ $circ->alert( 0 ); # clear alert flag > syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - using checked_in_ok"); > } else { > $circ->screen_msg("Item not checked out"); >-- >2.17.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 21218
: 77788