Tracked Entity Attributes filter not working in API

Hi,

With 2.22 rev 21368, filters no longer appear to work with tracked entity attributes in the API.

We are using this via GET for example:

api/trackedEntityAttributes?filter=code:eq:v008

but the entire list of tracked entity attributes is being returned instead of being filtered by the specified code.

The filter was working in 2.21 - has something changed?

Thanks,

Lorill

Thanks Morten, I can confirm it’s working again.

···

On Mon, Dec 14, 2015 at 12:29 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

This should now be fixed in rev 21433.


Morten

On Mon, Dec 14, 2015 at 9:10 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

I can also confirm the issue, will look at it today and provide a fix.


Morten

On Wed, Dec 9, 2015 at 3:10 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Lorill,

I can confirm this on my side.

Morten is on holiday right now but I am sure he will fix it when he gets back after this week. (I don’t know this code well enough to fix it).

regards,

Lars

On Tue, Dec 8, 2015 at 8:59 PM, Lorill Crees lcrees@2paths.com wrote:

Hi,

With 2.22 rev 21368, filters no longer appear to work with tracked entity attributes in the API.

We are using this via GET for example:

api/trackedEntityAttributes?filter=code:eq:v008

but the entire list of tracked entity attributes is being returned instead of being filtered by the specified code.

The filter was working in 2.21 - has something changed?

Thanks,

Lorill


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org