← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5649: Indicator Values are not exported in Dataset Report(finished).

 

------------------------------------------------------------
revno: 5649
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-01-03 09:59:28 +0700
message:
  Indicator Values are not exported in Dataset Report(finished).
modified:
  dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/datasetreport/impl/DefaultDataSetReportService.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/datasetreport/impl/DefaultDataSetReportService.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/datasetreport/impl/DefaultDataSetReportService.java	2012-01-03 02:41:07 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/datasetreport/impl/DefaultDataSetReportService.java	2012-01-03 02:59:28 +0000
@@ -329,7 +329,7 @@
 
         List<Indicator> indicators = new ArrayList<Indicator>( dataSet.getIndicators() );
 
-     // ---------------------------------------------------------------------
+        // ---------------------------------------------------------------------
         // Values for GRID
         // ---------------------------------------------------------------------
 
@@ -339,7 +339,7 @@
 
             grid.addValue( indicator.getName() );
             
-            Double value = aggregationService.getAggregatedDenominatorValue( indicator, period.getStartDate(), period.getEndDate(), unit );
+            Double value = aggregationService.getAggregatedIndicatorValue( indicator, period.getStartDate(), period.getEndDate(), unit );
             
             grid.addValue( value );