Hi Devs, I'm currently using dhis2 API to develop an App, but I have some troubles when I filter by *level* and *ancestor* in the same time.
To clarify: *Everything is ok with this one :* URL/api/25/organisationUnits.json?filter=level:eq:'+level+'&fields=[id,displayName] *But by adding ancestor parameter the level is just ignored:* URL/api/25/organisationUnits.json?filter=level:eq:'+level+'&filter=ancestors.id: eq:'+ancestorId+'&fields=[id,displayName] I will really appreciate your help and any link for an advanced dhis2 API topic. Best, Diao -- *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District Health Information Software )* *Projet de Renforcement du Système d'Information Sanitaire en Guinée* *Phone : 623909413 | 662256106* *Skype : diawwdiallo* www.jsi.com
_______________________________________________ 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