[Koha-bugs] [Bug 24502] Add a query language and param (q=) to the API
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 30 20:27:18 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24502
Agustín Moyano <agustinmoyano at theke.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #97934|0 |1
is obsolete| |
--- Comment #8 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 98185
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98185&action=edit
Bug 24502: object.search also filter by prefetched columns
This patch adds the possibility to object.search helper, to also filter by
prefetched columns.
In order to dynamically add filter parameters, they must be coded as json and
placed in the body of the request, within the q parameter.
The coded json, is in fact dbix syntax.
To test:
1. apply this patch
2. prove t/Koha/REST/Plugin/Query.t t/db_dependent/Koha/REST/Plugin/Objects.t
3. Sign off
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list