Hello,
I am trying to use the /api/30/events
endpoint for a custom app. The issue is that whatever request I make with different ?page=
or ?pageSize=
, the pager values are always the same.
For instance,
Request: https://play.dhis2.org/2.30/api/events/?program=WSGAb5XwJ3Y&pageSize=1
Returns:
<pager>
<page>1</page>
<pageCount>1</pageCount>
<total>0</total>
<pageSize>1</pageSize>
</pager>
Request: https://play.dhis2.org/2.30/api/events/?program=WSGAb5XwJ3Y&pageSize=10
Returns:
<pager>
<page>1</page>
<pageCount>1</pageCount>
<total>0</total>
<pageSize>10</pageSize>
</pager>
Values like pageCount and total doesn’t seem to reflect the actual count.