Lines 308-314
if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold )
Link Here
|
308 |
if ( $patron && $multi_hold ) { |
308 |
if ( $patron && $multi_hold ) { |
309 |
my @multi_pickup_locations = |
309 |
my @multi_pickup_locations = |
310 |
Koha::Biblios->search( { biblionumber => \@biblionumbers } ) |
310 |
Koha::Biblios->search( { biblionumber => \@biblionumbers } ) |
311 |
->pickup_locations( { patron => $patron } ); |
311 |
->pickup_locations( { patron => $patron } )->as_list; |
312 |
$template->param( multi_pickup_locations => \@multi_pickup_locations ); |
312 |
$template->param( multi_pickup_locations => \@multi_pickup_locations ); |
313 |
} |
313 |
} |
314 |
|
314 |
|
Lines 694-700
if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold )
Link Here
|
694 |
|
694 |
|
695 |
if ( $patron ) { |
695 |
if ( $patron ) { |
696 |
# Add the valid pickup locations |
696 |
# Add the valid pickup locations |
697 |
my @pickup_locations = $biblio->pickup_locations({ patron => $patron }); |
697 |
my @pickup_locations = $biblio->pickup_locations({ patron => $patron })->as_list; |
698 |
$biblioloopiter{pickup_locations} = \@pickup_locations; |
698 |
$biblioloopiter{pickup_locations} = \@pickup_locations; |
699 |
$biblioloopiter{pickup_locations_codes} = [ map { $_->branchcode } @pickup_locations ]; |
699 |
$biblioloopiter{pickup_locations_codes} = [ map { $_->branchcode } @pickup_locations ]; |
700 |
} |
700 |
} |
701 |
- |
|
|