dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28487
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14225: enable paging when only using include/exclude
------------------------------------------------------------
revno: 14225
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-03-14 12:08:21 +0100
message:
enable paging when only using include/exclude
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/AbstractCrudController.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/api/controller/AbstractCrudController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/AbstractCrudController.java 2014-03-14 10:40:06 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/AbstractCrudController.java 2014-03-14 11:08:21 +0000
@@ -99,7 +99,7 @@
WebMetaData metaData = new WebMetaData();
options.getOptions().put( "links", "false" );
- boolean hasPaging = false;
+ boolean hasPaging = options.hasPaging();
// get full list if we are using filters
if ( filters != null && !filters.isEmpty() )