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

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

Return to bug 14399