From 01246b5eab42232ffa49d405dfe5ff16e88d4123 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 --- 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.24.1 (Apple Git-126)