dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #48988
Re: WebAPI TrackedEntityInstance Attribute filter combine
Hi James
Please file an issue for it in Jira (jira.dhis2.org), I can't guarantee it
for 2.27 though..
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
On Mon, Mar 27, 2017 at 3:10 PM, James Chang <jamesbchang@xxxxxxxxx> wrote:
> 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.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References