Bug 30133: (follow-up) Update objects.search POD
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 21 Feb 2022 11:59:05 +0000 (08:59 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 25 Feb 2022 00:35:36 +0000 (14:35 -1000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/Plugin/Objects.pm

index 7b843ba..089b6ba 100644 (file)
@@ -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(