From 58cd99ec3a4f83fd2d68b2e732069587c70b1459 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Tue, 23 Aug 2016 09:32:59 -0400 Subject: [PATCH] LP#1613374 - Add 'Canceled Transit' to non-'BAD' copy statuses. During checkin, Circulate.pm checks the copy status and if it isn't listed as an okay status, the event COPY_BAD_STATUS is returned, which requires an override. This change makes copies in 'Canceled Transit' status check in without an alert. Signed-off-by: Chris Sharp Signed-off-by: Michele Morgan Signed-off-by: Mike Rylander --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index 6ce9eb88d1..dcef1d2e4d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -3530,6 +3530,7 @@ sub check_checkin_copy_status { $status == OILS_COPY_STATUS_IN_TRANSIT || $status == OILS_COPY_STATUS_CATALOGING || $status == OILS_COPY_STATUS_ON_RESV_SHELF || + $status == OILS_COPY_STATUS_CANCELED_TRANSIT || $status == OILS_COPY_STATUS_RESHELVING ); return OpenILS::Event->new('COPY_STATUS_LOST', payload => $copy ) -- 2.11.0