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

(-)a/Koha/Items.pm (-2 / +1 lines)
Lines 76-82 sub filter_by_for_hold { Link Here
76
        withdrawn  => 0,
76
        withdrawn  => 0,
77
        notforloan => { '<=' => 0 },    # items with negative or zero notforloan value are holdable
77
        notforloan => { '<=' => 0 },    # items with negative or zero notforloan value are holdable
78
        ( C4::Context->preference('AllowHoldsOnDamagedItems')? (): ( damaged => 0 ) ),
78
        ( C4::Context->preference('AllowHoldsOnDamagedItems')? (): ( damaged => 0 ) ),
79
        ( C4::Context->only_my_library() ? ( homebranch => C4::Context::mybranch() ) : () ),
79
        ( C4::Context->only_my_library() && !C4::Context->preference('canreservefromotherbranches') ? ( homebranch => C4::Context::mybranch() ) : () ),
80
    };
80
    };
81
81
82
    if ( C4::Context->preference("item-level_itypes") ) {
82
    if ( C4::Context->preference("item-level_itypes") ) {
83
- 

Return to bug 36502