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

(-)a/opac/opac-detail.pl (-3 / +2 lines)
Lines 682-689 if ( not $viewallitems and $items->count > $max_items_to_display ) { Link Here
682
else {
682
else {
683
    while ( my $item = $items->next ) {
683
    while ( my $item = $items->next ) {
684
        my $item_info = $item->unblessed;
684
        my $item_info = $item->unblessed;
685
        $item->{holds_count} = $item_reserves{ $item->itemnumber };
685
        $item_info->{holds_count} = $item_reserves{ $item->itemnumber };
686
        $item->{priority}    = $priority{ $item->itemnumber };
686
        $item_info->{priority}    = $priority{ $item->itemnumber };
687
687
688
        $allow_onshelf_holds = Koha::CirculationRules->get_onshelfholds_policy(
688
        $allow_onshelf_holds = Koha::CirculationRules->get_onshelfholds_policy(
689
            { item => $item, patron => $patron } )
689
            { item => $item, patron => $patron } )
690
- 

Return to bug 31313