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 <ckellermeyer@altadenalibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 2724cf760d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Kyle M Hall 2021-03-10 10:24:16 -05:00 committed by Fridolin Somers
parent 38ff7ce93d
commit 575f5d9def
1 changed files with 3 additions and 0 deletions

View File

@ -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.