[Dhis2-devs] [Bug 1498898] Re: api/events.json - page totals are not displayed

2015-10-14 Thread Lars Helge Ă˜verland
Like Abyot say you need to explicitly request this with a param now. The
reason behind this is that the paging operation is very costly, since
you need to count all events as part of the process. So as a
consequence, we don't include this in the response unless it is really
needed.

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1498898

Title:
  api/events.json - page totals are not displayed

Status in DHIS:
  Invalid

Bug description:
  When accessing api/events (.json) the page totals are not displayed in
  the pager.

  version 2.20 rev 19876

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1498898/+subscriptions

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


[Dhis2-devs] [Bug 1498898] Re: api/events.json - page totals are not displayed

2015-09-25 Thread Abyot Asalefew Gizaw
Hi,

Use totalPages=true in the query string.

** Changed in: dhis2
   Status: New => Invalid

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1498898

Title:
  api/events.json - page totals are not displayed

Status in DHIS:
  Invalid

Bug description:
  When accessing api/events (.json) the page totals are not displayed in
  the pager.

  version 2.20 rev 19876

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1498898/+subscriptions

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