Lines 1690-1698
sub searchResults {
Link Here
|
1690 |
$search_context); |
1690 |
$search_context); |
1691 |
} |
1691 |
} |
1692 |
|
1692 |
|
1693 |
# last check for norequest : if itemtype is notforloan, it can't be reserved either, whatever the items |
1693 |
# if biblio level itypes are used and itemtype is notforloan, it can't be reserved either |
1694 |
$can_place_holds = 0 |
1694 |
if (!C4::Context->preference("item-level_itypes")) { |
1695 |
if $itemtypes{ $oldbiblio->{itemtype} }->{notforloan}; |
1695 |
if ($itemtypes{ $oldbiblio->{itemtype} }->{notforloan}) { |
|
|
1696 |
$can_place_holds = 0; |
1697 |
} |
1698 |
} |
1696 |
$oldbiblio->{norequests} = 1 unless $can_place_holds; |
1699 |
$oldbiblio->{norequests} = 1 unless $can_place_holds; |
1697 |
$oldbiblio->{itemsplural} = 1 if $items_count > 1; |
1700 |
$oldbiblio->{itemsplural} = 1 if $items_count > 1; |
1698 |
$oldbiblio->{items_count} = $items_count; |
1701 |
$oldbiblio->{items_count} = $items_count; |
1699 |
- |
|
|