Bugzilla – Attachment 113509 Details for
Bug 26963
Improve Koha::Item::pickup_locations performance
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26963: [GOLF] Update mocked return of pickup_locations
Bug-26963-GOLF-Update-mocked-return-of-pickuplocat.patch (text/plain), 945 bytes, created by
Martin Renvoize (ashimema)
on 2020-11-11 15:53:01 UTC
(
hide
)
Description:
Bug 26963: [GOLF] Update mocked return of pickup_locations
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-11-11 15:53:01 UTC
Size:
945 bytes
patch
obsolete
>From 39e7782d94e4362b40edee72b4e5ac15f52c0c92 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 11 Nov 2020 15:43:57 +0000 >Subject: [PATCH] Bug 26963: [GOLF] Update mocked return of pickup_locations > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Template/Plugin/Branches.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Template/Plugin/Branches.t b/t/db_dependent/Template/Plugin/Branches.t >index f6141d9345..4c149dfc69 100755 >--- a/t/db_dependent/Template/Plugin/Branches.t >+++ b/t/db_dependent/Template/Plugin/Branches.t >@@ -137,7 +137,8 @@ subtest 'pickup_locations() tests' => sub { > $item_class->mock( > 'pickup_locations', > sub { >- return [$library_1]; >+ return Koha::Libraries->search( >+ { branchcode => $library_1->branchcode } ); > } > ); > >-- >2.20.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 26963
:
113282
|
113283
|
113329
|
113330
|
113333
|
113339
|
113340
|
113419
|
113420
|
113422
|
113423
|
113424
|
113425
|
113451
|
113452
|
113453
|
113454
|
113455
|
113480
|
113481
|
113483
|
113498
|
113503
|
113504
|
113505
|
113506
|
113507
|
113508
|
113509
|
113510
|
113511
|
113512
|
113513
|
113514
|
113515
|
113516
|
113517
|
113518
|
113519
|
113520
|
113521
|
113523
|
113524
|
113525
|
113526
|
113527
|
113528
|
113529
|
113530
|
113531
|
113586
|
113729