Lines 686-692
else {
Link Here
|
686 |
$item_info->{holding_library_info} = $opac_info_holding->content if $opac_info_holding; |
686 |
$item_info->{holding_library_info} = $opac_info_holding->content if $opac_info_holding; |
687 |
$item_info->{home_library_info} = $opac_info_home->content if $opac_info_home; |
687 |
$item_info->{home_library_info} = $opac_info_home->content if $opac_info_home; |
688 |
|
688 |
|
689 |
$is_available = IsAvailableForItemLevelRequest($item, $patron, $currentbranch) |
689 |
my $default_hold_pickup_location_pref = C4::Context->preference('DefaultHoldPickupLocation'); |
|
|
690 |
my $pickup_branch; |
691 |
if( $default_hold_pickup_location_pref eq 'homebranch' ){ |
692 |
$pickup_branch = $item->homebranch ? $item->homebranch : undef; |
693 |
} elsif ( $default_hold_pickup_location_pref eq 'holdingbranch' ){ |
694 |
$pickup_branch = $item->holdingbranch ? $item->holdingbranch : undef; |
695 |
} else { |
696 |
$pickup_branch = $currentbranch; |
697 |
} |
698 |
$is_available = IsAvailableForItemLevelRequest($item, $patron, $pickup_branch) |
690 |
unless $is_available; |
699 |
unless $is_available; |
691 |
|
700 |
|
692 |
# get collection code description, too |
701 |
# get collection code description, too |
693 |
- |
|
|