From 89cb97f79509a1c07e89c46f377447273b97fb17 Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Wed, 10 Mar 2021 10:24:16 -0500
Subject: [PATCH] Bug 27906: Add support for circulation status 9 ( waiting to
 be re-shelved )

---
 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)