From 6b1822b3be1dff2bf091a34cd5d4f639f3e424c2 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 10 Mar 2021 10:24:16 -0500 Subject: [PATCH] Bug 27906: Add support for circulation status 9 ( waiting to be re-shelved ) In Koha, we can support circ status 09 in SIP by checking if the item's location is "CART". Test Plan: 1) prove t/db_dependent/SIP/Transaction.t Signed-off-by: Christopher Kellermeyer - Altadena Library District Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- C4/SIP/ILS/Item.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm index 82f3cfb378..ca7c84437a 100644 --- a/C4/SIP/ILS/Item.pm +++ b/C4/SIP/ILS/Item.pm @@ -277,6 +277,9 @@ sub sip_circulation_status { elsif ( grep { $_->{itemnumber} == $self->{itemnumber} } @{ $self->{hold_attached} } ) { return '08'; # waiting on hold shelf } + elsif ( $self->{location} eq 'CART' ) { + return '09'; # waiting to be re-shelved + } else { return '03'; # available } # FIXME: 01-13 enumerated in spec. -- 2.39.5