← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10711: Fixed bug related to subtotals for data set report

 

------------------------------------------------------------
revno: 10711
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-04-29 15:26:32 +0200
message:
  Fixed bug related to subtotals for data set report
modified:
  dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/datasetreport/jdbc/JdbcDataSetReportStore.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/jdbc/JdbcDataSetReportStore.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/datasetreport/jdbc/JdbcDataSetReportStore.java	2013-01-05 15:22:55 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/datasetreport/jdbc/JdbcDataSetReportStore.java	2013-04-29 13:26:32 +0000
@@ -139,7 +139,7 @@
                         String dataElementId = rowSet.getString( 1 );
                         Double value = rowSet.getDouble( 2 );
                         
-                        map.put( dataElementId + SEPARATOR + categoryOption.getId(), value );
+                        map.put( dataElementId + SEPARATOR + categoryOption.getUid(), value );
                     }
                 }
             }