[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
Wed Feb 19 15:09:21 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 #98605|0                           |1
        is obsolete|                            |
  Attachment #98611|0                           |1
        is obsolete|                            |

--- Comment #27 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 99252
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99252&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