Bugzilla – Attachment 67607 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), 947 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2017-10-04 13:47:05 UTC
(
hide
)
Description:
Bug 19278: Mention RESTdefaultPageSize in POD
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-10-04 13:47:05 UTC
Size:
947 bytes
patch
obsolete
>From 2a5711777d90f3103ed34de7f189f13c51923050 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 f64e932..252862e 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.7.4
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