View | Details | Raw Unified | Return to bug 14399
Collapse All | Expand All

(-)a/tools/inventory.pl (-2 / +1 lines)
Lines 97-103 for my $statfield (qw/items.notforloan items.itemlost items.withdrawn items.dama Link Here
97
        if ( $statfield eq 'items.notforloan') {
97
        if ( $statfield eq 'items.notforloan') {
98
            # Add notforloan == 0 to the list of possible notforloan statuses
98
            # Add notforloan == 0 to the list of possible notforloan statuses
99
            # The lib value is replaced in the template
99
            # The lib value is replaced in the template
100
            push @$arr, { authorised_value => 0, id => 'stat0' , lib => 'ignore' };
100
            push @$arr, { authorised_value => 0, id => 'stat0' , lib => 'ignore' } if ! grep { $_->{authorised_value} eq '0' } @$arr;
101
            @notforloans = map { $_->{'authorised_value'} } @$arr;
101
            @notforloans = map { $_->{'authorised_value'} } @$arr;
102
        }
102
        }
103
        $hash->{values} = $arr;
103
        $hash->{values} = $arr;
104
- 

Return to bug 14399