projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb49d5
)
Bug 30133: (follow-up) Update objects.search POD
author
Tomas Cohen Arazi
<tomascohen@theke.io>
Mon, 21 Feb 2022 11:59:05 +0000
(08:59 -0300)
committer
Fridolin 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
patch
|
blob
|
history
diff --git
a/Koha/REST/Plugin/Objects.pm
b/Koha/REST/Plugin/Objects.pm
index
7b843ba
..
089b6ba
100644
(file)
--- 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(