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 |
$is_available = IsAvailableForItemLevelRequest($item, $patron, $currentbranch) |
685 |
my $default_hold_pickup_location_pref = C4::Context->preference('DefaultHoldPickupLocation'); |
|
|
686 |
my $pickup_branch; |
687 |
if( $default_hold_pickup_location_pref eq 'homebranch' ){ |
688 |
$pickup_branch = $item->homebranch ? $item->homebranch : undef; |
689 |
} elsif ( $default_hold_pickup_location_pref eq 'holdingbranch' ){ |
690 |
$pickup_branch = $item->holdingbranch ? $item->holdingbranch : undef; |
691 |
} else { |
692 |
$pickup_branch = $currentbranch; |
693 |
} |
694 |
$is_available = IsAvailableForItemLevelRequest($item, $patron, $pickup_branch) |
686 |
unless $is_available; |
695 |
unless $is_available; |
687 |
|
696 |
|
688 |
# get collection code description, too |
697 |
# get collection code description, too |
689 |
- |
|
|