Category combinations and API

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:

/api/events.json?orgUnit=

or

/api/events.json?orgUnit=&progam=

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