From 1ac19db2d604f7e4847f06e80995b9a4c5e171b7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 10 Feb 2022 14:25:06 +0100 Subject: [PATCH] Bug 29660: Fix conflict with bug 29844 Signed-off-by: Martin Renvoize --- reserve/request.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reserve/request.pl b/reserve/request.pl index ff930e1af7..9e917a0887 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -308,7 +308,7 @@ if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold ) if ( $patron && $multi_hold ) { my @multi_pickup_locations = Koha::Biblios->search( { biblionumber => \@biblionumbers } ) - ->pickup_locations( { patron => $patron } ); + ->pickup_locations( { patron => $patron } )->as_list; $template->param( multi_pickup_locations => \@multi_pickup_locations ); } @@ -694,7 +694,7 @@ if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold ) if ( $patron ) { # Add the valid pickup locations - my @pickup_locations = $biblio->pickup_locations({ patron => $patron }); + my @pickup_locations = $biblio->pickup_locations({ patron => $patron })->as_list; $biblioloopiter{pickup_locations} = \@pickup_locations; $biblioloopiter{pickup_locations_codes} = [ map { $_->branchcode } @pickup_locations ]; } -- 2.20.1