sortOrder TrackedEntityInstance doesn't work

Hi All,

I’ve confuse how to order the EnrollmentDate DESC with this web api?


and result is:

and this result is strange. Is anyone to support how to order the enrollment date DESC?

Hi @taufiqhs,
Sorry, what version are you using? I see that you are using sortOrder=property:desc instead of order=property:asc as mentioned in the docs.

Additionally, what do you think “only properties that are both persisted and simple (no collections, idObjects etc) are supported.” means? property “created” works when I use it but other properties such as enrollmentDate don’t work, and I’m guessing that it could be the reason that they aren’t supported properties for the order parameter?

I’m still waiting for a response; however, we might eventually need to create a feature request to support that property? What do you think?


Hi @Gassim

we are using 2.36.3 version

1 Like