From 07fdde5d98e5bf08280e523dbd3926811bcba325 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 --- reserve/request.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/request.pl b/reserve/request.pl index b24afad290..164c7ea3f3 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -297,7 +297,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