From bb5852c280fb6a22117c12ffe901e87dff37f96b 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 --- reserve/request.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reserve/request.pl b/reserve/request.pl index fba4cba1acf..156c774e282 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 ); } @@ -693,7 +693,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.25.1