From da7b2290dad33a1142c42418b4f3d19837420c2d 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. --- 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