← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1450: Forgot to remove sorting in service layer, re previous commit

 

------------------------------------------------------------
revno: 1450
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-02-18 16:54:38 +0100
message:
  Forgot to remove sorting in service layer, re previous commit
modified:
  dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.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-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java	2010-01-29 09:05:27 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java	2010-02-18 15:54:38 +0000
@@ -428,10 +428,6 @@
         
         if ( chart != null )
         {
-            Collections.sort( chart.getIndicators(), new IndicatorNameComparator() );
-            Collections.sort( chart.getPeriods(), new AscendingPeriodComparator() );
-            Collections.sort( chart.getOrganisationUnits(), new OrganisationUnitNameComparator() );
-            
             Period selectedPeriod = chart.getPeriods().get( 0 );
             OrganisationUnit selectedOrganisationUnit = chart.getOrganisationUnits().get( 0 );