From 575f5d9deff5cb1aa0f6a6a5bef4a359799f9be5 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 Signed-off-by: Kyle M Hall (cherry picked from commit 2724cf760d844c62d84ef26055de2dc07a44c89d) Signed-off-by: Fridolin Somers --- 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 4a6c09826b..f0b1794b0e 100644 --- a/C4/SIP/ILS/Item.pm +++ b/C4/SIP/ILS/Item.pm @@ -278,6 +278,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