Bugzilla – Attachment 129186 Details for
Bug 29806
->pickup_locations should always be called in scalar context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29806: (follow-up) Call ->as_list for ->pickup_locations on request.pl
Bug-29806-follow-up-Call--aslist-for--pickuplocati.patch (text/plain), 977 bytes, created by
Jonathan Druart
on 2022-01-07 14:54:55 UTC
(
hide
)
Description:
Bug 29806: (follow-up) Call ->as_list for ->pickup_locations on request.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-07 14:54:55 UTC
Size:
977 bytes
patch
obsolete
>From 77aa6b22d8288f4e3f6321f38bae46ce2e35ddca Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <jonathan.druart@bugs.koha-community.org> >--- > reserve/request.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/reserve/request.pl b/reserve/request.pl >index 8a552716dc7..714a6279880 100755 >--- a/reserve/request.pl >+++ b/reserve/request.pl >@@ -294,7 +294,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.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29806
:
129058
|
129059
|
129060
|
129130
|
129131
|
129132
|
129183
|
129184
|
129185
| 129186