From 9712fc07c2737ad4677055a9988c0f29046096ac Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 7 Jan 2022 15:54:16 +0100 Subject: [PATCH] Bug 29806: (follow-up) Call ->as_list for ->pickup_locations on request.pl Signed-off-by: Jonathan Druart Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall (cherry picked from commit 07fdde5d98e5bf08280e523dbd3926811bcba325) Signed-off-by: Andrew Fuerste-Henry --- reserve/request.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/request.pl b/reserve/request.pl index 347e8569e8..d2fc852b7f 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -286,7 +286,7 @@ my $patron = Koha::Patrons->find( $borrowernumber_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 ); } -- 2.39.5