From 48fb3daca938180114c8b1bdf0678d2e2c9ed383 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 --- 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.20.1