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

(-)a/Koha/Items.pm (-1 / +1 lines)
Lines 54-59 sub filter_by_for_hold { Link Here
54
            withdrawn  => 0,
54
            withdrawn  => 0,
55
            notforloan => { '<=' => 0 }
55
            notforloan => { '<=' => 0 }
56
            ,    # items with negative or zero notforloan value are holdable
56
            ,    # items with negative or zero notforloan value are holdable
57
            ( C4::Context->preference('AllowHoldsOnDamagedItems') ? ( damaged => 0 ) : () ),
57
        }
58
        }
58
    );
59
    );
59
}
60
}
60
- 

Return to bug 3142