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

(-)a/Koha/Items.pm (-2 / +1 lines)
Lines 47-53 Return the items of the set that are holdable Link Here
47
47
48
sub filter_by_for_hold {
48
sub filter_by_for_hold {
49
    my ($self) = @_;
49
    my ($self) = @_;
50
    return $self->search( { notforloan => { '<' => 1 } } ); # items with negative or zero notforloan value are holdable
50
    return $self->search( { notforloan => { '<=' => 0 } } ); # items with negative or zero notforloan value are holdable
51
}
51
}
52
52
53
=head3 filter_by_visible_in_opac
53
=head3 filter_by_visible_in_opac
54
- 

Return to bug 28286