In versions below 2.36 this
/api/organisationUnits.json?fields=id,name,parent,level&order=level:asc used to work and results will be ordered in ascending order given the level. But now same api brings error in 2.36 will the following message
“httpStatus”: “Internal Server Error”,
“message”: “Unable to locate Attribute with the the given name [null] on this ManagedType [org.hisp.dhis.organisationunit.OrganisationUnit]”
Apparently the this error can also be replicated in DHIS 2 Demo - Sierra Leone, and error is only on ordering by level (other attributes work as expected)
Has anything changed on 2.36? Or is there anything that I am missing here?