dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #48987
WebAPI TrackedEntityInstance Attribute filter combine
Hi,
In WebAPI, filter can be combined with 'AND' condition.
*/api/26/dataElements?filter=id:eq:ID1&filter=id:eq:ID2*
However, in TrackedEntityInstance attribute value filtering, it does not
support this (2 filter condition combining).
*api/trackedEntityInstances.json?filter=LoGHwYUQZ9y:LIKE:Maria&filter=LoGHwYUQZ9y:LIKE:Serra*
(Also, it has a bit different filter operator -> 'ilike' instead of 'LIKE')
It will be great if we can have filter 'AND' combining here
(TrackedEntityInstance).
Thanks.
Follow ups