dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #38352
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19533: bugfix for DataElementOperandController, remove paging, it is already taken care of in AbstractCr...
------------------------------------------------------------
revno: 19533
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-07-03 14:47:56 +0700
message:
bugfix for DataElementOperandController, remove paging, it is already taken care of in AbstractCrudController
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/dataelement/DataElementOperandController.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/dataelement/DataElementOperandController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/dataelement/DataElementOperandController.java 2015-02-20 09:14:02 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/dataelement/DataElementOperandController.java 2015-07-03 07:47:56 +0000
@@ -97,13 +97,6 @@
}
}
- if ( options.hasPaging() )
- {
- Pager pager = new Pager( options.getPage(), dataElementOperands.size(), options.getPageSize() );
- metaData.setPager( pager );
- dataElementOperands = PagerUtils.pageCollection( dataElementOperands, pager );
- }
-
return dataElementOperands;
}
}