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

(-)a/opac/opac-detail.pl (-2 / +6 lines)
Lines 682-688 else { Link Here
682
        $item_info->{holding_library_info} = $opac_info_holding->content if $opac_info_holding;
682
        $item_info->{holding_library_info} = $opac_info_holding->content if $opac_info_holding;
683
        $item_info->{home_library_info} = $opac_info_home->content if $opac_info_home;
683
        $item_info->{home_library_info} = $opac_info_home->content if $opac_info_home;
684
684
685
        $can_item_be_reserved = $can_item_be_reserved || $patron && IsAvailableForItemLevelRequest($item, $patron, undef);
685
        if ( $patron ) {
686
            $can_item_be_reserved = IsAvailableForItemLevelRequest($item, $patron, undef);
687
        } else {
688
            $can_item_be_reserved =
689
                Koha::CirculationRules->get_onshelfholds_policy( { item => $item, patron => undef } );
690
        }
686
691
687
        # get collection code description, too
692
        # get collection code description, too
688
        my $ccode = $item->ccode;
693
        my $ccode = $item->ccode;
689
- 

Return to bug 34886