Bugzilla – Attachment 67703 Details for
Bug 19278
Add a configurable default page size for endpoints
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19278: Mention RESTdefaultPageSize in POD
Bug-19278-Mention-RESTdefaultPageSize-in-POD.patch (text/plain), 954 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2017-10-06 12:14:19 UTC
(
hide
)
Description:
Bug 19278: Mention RESTdefaultPageSize in POD
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-10-06 12:14:19 UTC
Size:
954 bytes
patch
obsolete
>From da7b2290dad33a1142c42418b4f3d19837420c2d Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 22 Sep 2017 19:15:43 -0300 >Subject: [PATCH] Bug 19278: Mention RESTdefaultPageSize in POD > >This patch adds information about RESTdefaultPageSize usage >when the per_page parameter is absent on the query. >--- > Koha/REST/Plugin/Pagination.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/REST/Plugin/Pagination.pm b/Koha/REST/Plugin/Pagination.pm >index 1964ac54c5..23ec7a07fc 100644 >--- a/Koha/REST/Plugin/Pagination.pm >+++ b/Koha/REST/Plugin/Pagination.pm >@@ -52,6 +52,8 @@ Adds a Link header to the response message $c carries, following RFC5988, includ > the following relation types: 'prev', 'next', 'first' and 'last'. > It also adds X-Total-Count, containing the total results count. > >+If page size is omitted, it defaults to the value of the RESTdefaultPageSize syspref. >+ > =cut > > $app->helper( >-- >2.14.2
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 19278
:
66994
|
66995
|
66996
|
67341
|
67604
|
67605
|
67606
|
67607
|
67700
|
67701
|
67702
|
67703
|
67790
|
67791
|
67792
|
67793
|
69365
|
69366
|
69367
|
69368
|
69704