← Back to team overview

dhis2-devs team mailing list archive

Re: GET /api/trackedEntityAttributes filter=code:eq:<code value> attributes that have empty code are also returned

 

Hi

There was some inconsistencies between the db optimised and in-memory
filter operators there. Please try again with the latest revision.

--
Morten

On Fri, Jun 19, 2015 at 1:33 PM, Alan Hill <ahill@xxxxxxxxxx> wrote:

> Me again...
>
> I'm querying TrackedEntityAttributes.  Some have been created through web
> API and have a code value and some have been created through the UI and
> have an empty code
>
> I'm using:
>
>     ?filter=code:eq:<code value>
>
> which always returns the TrackedEntityAttributes that were created through
> the UI (no code).
>
> Any TEAs matching <code value> are also returned.
>
> Thanks
>
> A
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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