Oh yes, that works...didn't know about this filter....Thanks Morten. Regards harsh
On 30 January 2016 at 15:46, Morten Olav Hansen <[email protected]> wrote: > Hi Harsh > > Try with totalPages=true, adding the totals adds a bit of extra processing > time.. so we don't include it by default > > -- > Morten > > On Sat, Jan 30, 2016 at 1:28 PM, Harsh Atal <[email protected]> wrote: > >> 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 >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

