Hi everyone,

I've seen that when I try to ask for events from a program that has a category 
combination assigned I can't get them with the queries:


<server>/api/events.json?orgUnit=<ID>


or


<server>/api/events.json?orgUnit=<ID>&progam=<programID>


You won't get all the events unless you specify the "attributeCc" and 
"attributeCos" attributes.
I understant that the first query for example should return all the events 
inside the specified orgunit regardless of which ones are classified inside 
category combinations.
I faced the same issue in the second query, where I understand that all the 
events inside that program and orgUnit should be returned, "ignoring" the 
category combination filter since you are asking for the events in a more 
general way.

Is the current behaviour intended? Could it be fixed?

Thank you for your time,

Eric


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to