From 296442d2d5d8d506ae299b136ddbd834f5123880 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi 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. Signed-off-by: Lari Taskula Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart --- 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 c18208da56..02560055f0 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.39.5