From 7208e7d8fe0166711f7f1c9c60c5baec98a8d4db Mon Sep 17 00:00:00 2001 From: Colin Campbell 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