Bugzilla – Attachment 176113 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), 1.00 KB, created by
David Nind
on 2025-01-03 01:51:07 UTC
(
hide
)
Description:
Bug 34068: Mock RESTdefaultPageSize
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-01-03 01:51:07 UTC
Size:
1.00 KB
patch
obsolete
>From eb2c2075e42d1b18431ce588d30cd6d0337493c6 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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 3e4fb0fd93..4528712ec9 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.39.5
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