dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42640
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21784: minor fix
------------------------------------------------------------
revno: 21784
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2016-01-20 12:57:53 +0700
message:
minor fix
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityInstanceController.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-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityInstanceController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityInstanceController.java 2016-01-20 03:58:55 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/TrackedEntityInstanceController.java 2016-01-20 05:57:53 +0000
@@ -153,7 +153,7 @@
if ( params.isPaging() && params.isTotalPages() )
{
int count = trackedEntityInstanceService.getTrackedEntityInstanceCount( params );
- Pager pager = new Pager( params.getPage(), count, params.getPageSize() );
+ Pager pager = new Pager( params.getPageWithDefault(), count, params.getPageSizeWithDefault() );
rootNode.addChild( NodeUtils.createPager( pager ) );
}