From dca673eee6d3a5963c3957060cd94143d25fd24b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 21 Feb 2022 08:59:05 -0300 Subject: [PATCH] Bug 30133: (follow-up) Update objects.search POD Signed-off-by: Tomas Cohen Arazi Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall --- Koha/REST/Plugin/Objects.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Koha/REST/Plugin/Objects.pm b/Koha/REST/Plugin/Objects.pm index 7b843bafbe..089b6ba2a6 100644 --- a/Koha/REST/Plugin/Objects.pm +++ b/Koha/REST/Plugin/Objects.pm @@ -80,6 +80,9 @@ Performs a database search using given Koha::Objects object and query parameters Returns an arrayref of the hashrefs representing the resulting objects for API rendering. +Warning: this helper adds pagination headers to the calling controller, and thus +shouldn't be called twice in it. + =cut $app->helper( -- 2.39.5