← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8230: Chart, fixed minor bug with title

 

------------------------------------------------------------
revno: 8230
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-09-24 15:50:59 +0200
message:
  Chart, fixed minor bug with title
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.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-api/src/main/java/org/hisp/dhis/chart/Chart.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java	2012-07-30 21:04:50 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java	2012-09-24 13:50:59 +0000
@@ -198,7 +198,7 @@
     {
         if ( DIMENSION_PERIOD.equals( filter ) )
         {
-            return format.formatPeriod( getRelativePeriods().get( 0 ) );
+            return format.formatPeriod( getAllPeriods().get( 0 ) );
         }
 
         return filter().getName();