Bugzilla – Attachment 114277 Details for
Bug 27177
t/db_dependent/api/v1/holds.t failing after bug 26988
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27177: Fix failing t/db_dependent/api/v1/holds.t
Bug-27177-Fix-failing-tdbdependentapiv1holdst.patch (text/plain), 1.04 KB, created by
Andrew Fuerste-Henry
on 2020-12-09 13:56:27 UTC
(
hide
)
Description:
Bug 27177: Fix failing t/db_dependent/api/v1/holds.t
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2020-12-09 13:56:27 UTC
Size:
1.04 KB
patch
obsolete
>From fb33a293950604a309dd76299f1fae7273d826c5 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Date: Wed, 9 Dec 2020 13:54:05 +0000 >Subject: [PATCH] Bug 27177: Fix failing t/db_dependent/api/v1/holds.t > >To test: >1 - prove t/db_dependent/api/v1/holds.t >2 - it fails! >3 - apply patch, restart >4- prove t/db_dependent/api/v1/holds.t >5 - it passes! >--- > 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 678dca59b5..a96b84dd00 100644 >--- a/Koha/REST/V1/Holds.pm >+++ b/Koha/REST/V1/Holds.pm >@@ -417,7 +417,7 @@ sub pickup_locations { > my @pickup_locations = > $hold->itemnumber > ? @{ $hold->item->pickup_locations( { patron => $hold->patron } )->as_list() } >- : @{ $hold->biblio->pickup_locations( { patron => $hold->patron } ) }; >+ : @{ $hold->biblio->pickup_locations( { patron => $hold->patron } )->as_list() }; > > @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 27177
:
114277
|
114285