Lines 565-570
if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold )
Link Here
|
565 |
if ($item->{ccode}) { |
565 |
if ($item->{ccode}) { |
566 |
$itemdata_ccode = 1; |
566 |
$itemdata_ccode = 1; |
567 |
} |
567 |
} |
|
|
568 |
if ( $patron && $multi_hold ) { |
569 |
|
570 |
# Add the valid pickup locations |
571 |
my @pickup_locations = $biblio->pickup_locations( { patron => $patron } ) |
572 |
->search( { branchcode => $default_pickup_branch } )->as_list; |
573 |
$biblioloopiter{default_pickup_branch} = $default_pickup_branch; |
574 |
$biblioloopiter{pickup_locations} = \@pickup_locations; |
575 |
$biblioloopiter{pickup_locations_codes} = [ map { $_->branchcode } @pickup_locations ]; |
576 |
} |
568 |
} |
577 |
} |
569 |
|
578 |
|
570 |
push @{ $biblioloopiter{itemloop} }, $item; |
579 |
push @{ $biblioloopiter{itemloop} }, $item; |
Lines 692-704
if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold )
Link Here
|
692 |
$template->param( reserveloop => \@reserveloop ); |
701 |
$template->param( reserveloop => \@reserveloop ); |
693 |
} |
702 |
} |
694 |
|
703 |
|
695 |
if ( $patron && $multi_hold ) { |
|
|
696 |
# Add the valid pickup locations |
697 |
my @pickup_locations = $biblio->pickup_locations({ patron => $patron })->as_list; |
698 |
$biblioloopiter{pickup_locations} = \@pickup_locations; |
699 |
$biblioloopiter{pickup_locations_codes} = [ map { $_->branchcode } @pickup_locations ]; |
700 |
} |
701 |
|
702 |
$num_bibs_available++ unless $biblioloopiter{none_avail}; |
704 |
$num_bibs_available++ unless $biblioloopiter{none_avail}; |
703 |
push @biblioloop, \%biblioloopiter; |
705 |
push @biblioloop, \%biblioloopiter; |
704 |
} |
706 |
} |
705 |
- |
|
|