Lines 76-81
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 |
}; |
80 |
}; |
80 |
|
81 |
|
81 |
if ( C4::Context->preference("item-level_itypes") ) { |
82 |
if ( C4::Context->preference("item-level_itypes") ) { |