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

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

Return to bug 3142