← Back to team overview

dhis2-devs team mailing list archive

[dhis2-devs] [API] Total always '0' in paging information

 

Hi

I am trying to get events come as page wise with custom page size. Related
to that a little issue -

Using this API URL : https://play.dhis2.org/demo/api/events?pageSize=10

Getting following data :
<metadata xmlns="http://dhis2.org/schema/dxf/2.0";>
<pager>
<page>1</page>
<pageCount>1</pageCount>
<total>0</total>
</pager>
.
.
.

The total should not be 0 , it should be the total number of pages, it is
always coming as 0.

Happening on dev server as well.

Thanks
harsh

Follow ups