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

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:

which always returns the TrackedEntityAttributes that were created through the UI (no code).

Any TEAs matching are also returned.

Thanks

A

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@2paths.com 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:

which always returns the TrackedEntityAttributes that were created through the UI (no code).

Any TEAs matching are also returned.

Thanks

A


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp