Bug 10748: (QA follow-up) Add comment in SIP's do_checkin
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 6 Nov 2017 08:43:02 +0000 (09:43 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 8 Nov 2017 14:07:48 +0000 (11:07 -0300)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/SIP/ILS.pm

index e0f5300..1bd23c6 100644 (file)
@@ -233,6 +233,9 @@ sub checkin {
         delete $item->{due_date};
         $patron->{items} = [ grep { $_ ne $item_id } @{ $patron->{items} } ];
     } else {
+        # Checkin failed: Wrongbranch or withdrawn?
+        # Bug 10748 with pref BlockReturnOfLostItems adds another case to come
+        # here: returning a lost item when the pref is set.
         $circ->screen_msg("Checkin failed");
         syslog( "LOG_WARNING", "Checkin failed: probably for Wrongbranch or withdrawn" );
     }