dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10144
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2779: Showing only orgunits at level 1 rather than all in add report table screen, too heavy on slow lines
------------------------------------------------------------
revno: 2779
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2011-01-29 00:04:52 +0100
message:
Showing only orgunits at level 1 rather than all in add report table screen, too heavy on slow lines
modified:
dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/GetTableOptionsAction.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-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/GetTableOptionsAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/GetTableOptionsAction.java 2010-07-18 15:17:23 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/GetTableOptionsAction.java 2011-01-28 23:04:52 +0000
@@ -378,7 +378,7 @@
levels = organisationUnitService.getOrganisationUnitLevels();
- organisationUnits = new ArrayList<OrganisationUnit>( organisationUnitService.getAllOrganisationUnits() );
+ organisationUnits = new ArrayList<OrganisationUnit>( organisationUnitService.getOrganisationUnitsAtLevel( 1 ) );
displayPropertyHandler.handle( organisationUnits );