From 3eb2f8ebbe76984c9b64eb123c25a96018bf368d Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 6 Jan 2022 09:22:05 -0300 Subject: [PATCH] Bug 29806: Call ->as_list for ->pickup_locations on request.pl Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Fridolin Somers --- reserve/request.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/request.pl b/reserve/request.pl index d9cec60a79..b24afad290 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -749,7 +749,7 @@ foreach my $biblionumber (@biblionumbers) { 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.39.5