← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21869: add pageSize to NodeUtils.createPager

 

------------------------------------------------------------
revno: 21869
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2016-02-03 18:24:18 +0700
message:
  add pageSize to NodeUtils.createPager
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/node/NodeUtils.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/node/NodeUtils.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/node/NodeUtils.java	2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/node/NodeUtils.java	2016-02-03 11:24:18 +0000
@@ -82,6 +82,7 @@
         pagerNode.addChild( new SimpleNode( "page", pager.getPage() ) );
         pagerNode.addChild( new SimpleNode( "pageCount", pager.getPageCount() ) );
         pagerNode.addChild( new SimpleNode( "total", pager.getTotal() ) );
+        pagerNode.addChild( new SimpleNode( "pageSize", pager.getPageSize() ) );
         pagerNode.addChild( new SimpleNode( "nextPage", pager.getNextPage() ) );
         pagerNode.addChild( new SimpleNode( "prevPage", pager.getPrevPage() ) );