Bugzilla – Attachment 113601 Details for
Bug 26988
Defer loading the hold pickup locations until the dropdown is selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26988: Adjust for bug 26963
Bug-26988-Adjust-for-bug-26963.patch (text/plain), 893 bytes, created by
Nick Clemens (kidclamp)
on 2020-11-13 13:16:30 UTC
(
hide
)
Description:
Bug 26988: Adjust for bug 26963
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-11-13 13:16:30 UTC
Size:
893 bytes
patch
obsolete
>From f7a35d5b58c52a3e326566a49660a3127e9f91e9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 13 Nov 2020 13:15:29 +0000 >Subject: [PATCH] Bug 26988: Adjust for bug 26963 > >--- > Koha/REST/V1/Holds.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/REST/V1/Holds.pm b/Koha/REST/V1/Holds.pm >index 20f76a13f6..60acb5ad61 100644 >--- a/Koha/REST/V1/Holds.pm >+++ b/Koha/REST/V1/Holds.pm >@@ -418,7 +418,7 @@ sub pickup_locations { > return try { > my @pickup_locations = > $hold->itemnumber >- ? @{ $hold->item->pickup_locations( { patron => $hold->patron } ) } >+ ? @{ $hold->item->pickup_locations( { patron => $hold->patron } )->as_list() } > : @{ $hold->biblio->pickup_locations( { patron => $hold->patron } ) }; > > @pickup_locations = map { $_->to_api } @pickup_locations; >-- >2.11.0
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 26988
:
113395
|
113418
|
113426
|
113427
|
113428
|
113456
|
113457
|
113458
|
113459
|
113460
|
113502
|
113533
|
113534
|
113535
|
113536
|
113537
|
113538
|
113590
| 113601 |
113669