@@ -, +, @@ circulation status of '08' ( waiting on hold shelf ) if record has any holds more holds. --- C4/SIP/ILS/Item.pm | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) --- a/C4/SIP/ILS/Item.pm +++ a/C4/SIP/ILS/Item.pm @@ -244,13 +244,15 @@ sub title_id { sub sip_circulation_status { my $self = shift; - if ($self->{patron}) { - return '04'; # charged - } elsif (scalar @{$self->{hold_queue}}) { - return '08'; # waiting on hold shelf - } else { - return '03'; # available - } # FIXME: 01-13 enumerated in spec. + if ( $self->{patron} ) { + return '04'; # charged + } + elsif ( scalar @{ $self->{hold_shelf} } ) { + return '08'; # waiting on hold shelf + } + else { + return '03'; # available + } # FIXME: 01-13 enumerated in spec. } sub sip_security_marker { --