dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14073
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4636: minor fix
------------------------------------------------------------
revno: 4636
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-09-21 23:00:03 +0200
message:
minor fix
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 2011-09-21 19:14:40 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java 2011-09-21 21:00:03 +0000
@@ -987,11 +987,11 @@
{
subTitle.setText( format.formatPeriod( chart.getAllPeriods().get( 0 ) ) );
}
- else if ( chart.isDimension( DIMENSION_DATAELEMENT_PERIOD ) && chart.getIndicators().size() > 0 )
+ else if ( chart.isDimension( DIMENSION_DATAELEMENT_PERIOD ) && chart.getDataElements().size() > 0 )
{
subTitle.setText( chart.getAllOrganisationUnits().get( 0 ).getName() );
}
-
+
return subTitle;
}