[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
Sat Feb 8 04:05:51 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 #98596|0 |1
is obsolete| |
Attachment #98597|0 |1
is obsolete| |
--- Comment #16 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 98605
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98605&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, coded as string in 'q' query parameter or as
string in 'x-koha-query' header.
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