Bugzilla – Attachment 174106 Details for
Bug 34068
Dropdown selector when changing pickup library should not depend on RESTdefaultPageSize
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34068: Mock RESTdefaultPageSize
Bug-34068-Mock-RESTdefaultPageSize.patch (text/plain), 978 bytes, created by
Jonathan Druart
on 2024-11-07 09:03:44 UTC
(
hide
)
Description:
Bug 34068: Mock RESTdefaultPageSize
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-07 09:03:44 UTC
Size:
978 bytes
patch
obsolete
>From 18138a22174e34cf56f5edfa775a845c05f4fa85 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 7 Nov 2024 10:03:25 +0100 >Subject: [PATCH] Bug 34068: Mock RESTdefaultPageSize > >--- > t/db_dependent/api/v1/holds.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/api/v1/holds.t b/t/db_dependent/api/v1/holds.t >index 3e4fb0fd938..4528712ec98 100755 >--- a/t/db_dependent/api/v1/holds.t >+++ b/t/db_dependent/api/v1/holds.t >@@ -899,6 +899,7 @@ subtest 'pickup_locations() tests' => sub { > . '/pickup_locations?q={"marc_org_code": { "-like": "A%" }}' )->json_is( [ $libraries[0] ] ); > > t::lib::Mocks::mock_preference( 'AllowHoldPolicyOverride', 1 ); >+ t::lib::Mocks::mock_preference( 'RESTdefaultPageSize', 20 ); > > # biblio-level mock doesn't include libraries[1] and $libraries[2] as valid pickup location > $_->{needs_override} = Mojo::JSON->true for @libraries; >-- >2.34.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 34068
:
152486
|
171964
|
171969
|
171970
|
174071
|
174072
|
174106
|
176110
|
176111
|
176112
|
176113
|
176331
|
176332
|
176333
|
176334