dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15029
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5264: Fixed bug related to loading of aggregated datavalues in data visualizer
------------------------------------------------------------
revno: 5264
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-12-01 21:07:31 +0100
message:
Fixed bug related to loading of aggregated datavalues in data visualizer
modified:
dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesAction.java
dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesPluginAction.java
dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedValuesAction.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-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesAction.java'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesAction.java 2011-10-27 12:35:27 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesAction.java 2011-12-01 20:07:31 +0000
@@ -97,7 +97,7 @@
if ( dataElementIds != null && periodIds != null && organisationUnitIds != null )
{
object = aggregatedDataValueService
- .getAggregatedDataValues( dataElementIds, periodIds, organisationUnitIds );
+ .getAggregatedDataValueTotals( dataElementIds, periodIds, organisationUnitIds );
}
return SUCCESS;
=== modified file 'dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesPluginAction.java'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesPluginAction.java 2011-11-12 14:18:22 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedDataValuesPluginAction.java 2011-12-01 20:07:31 +0000
@@ -211,7 +211,7 @@
}
object = aggregatedDataValueService
- .getAggregatedDataValues( dataElementIds, periodIds, organisationUnitIds );
+ .getAggregatedDataValueTotals( dataElementIds, periodIds, organisationUnitIds );
for ( AggregatedDataValue value : object )
{
@@ -219,7 +219,6 @@
value.setPeriodName( format.formatPeriod( periodService.getPeriod( value.getPeriodId() ) ) );
value.setOrganisationUnitName( organisationUnitService.getOrganisationUnit(
value.getOrganisationUnitId() ).getName() );
-
}
}
=== modified file 'dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedValuesAction.java'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedValuesAction.java 2011-11-26 13:49:52 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/java/org/hisp/dhis/visualizer/action/GetAggregatedValuesAction.java 2011-12-01 20:07:31 +0000
@@ -120,7 +120,7 @@
if ( dataElementIds != null )
{
- dataValues = aggregatedDataValueService.getAggregatedDataValues( dataElementIds, periodIds,
+ dataValues = aggregatedDataValueService.getAggregatedDataValueTotals( dataElementIds, periodIds,
organisationUnitIds );
}
}