=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java 2013-05-15 10:10:47 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/reporttable/ReportTable.java 2013-05-15 13:39:24 +0000 @@ -417,8 +417,7 @@ public ReportTable( String name, List dataElements, List indicators, List dataSets, List periods, List relativePeriods, List organisationUnits, List relativeUnits, List organisationUnitGroups, - boolean doIndicators, - boolean doPeriods, boolean doUnits, RelativePeriods relatives, ReportParams reportParams, + boolean doIndicators, boolean doPeriods, boolean doUnits, RelativePeriods relatives, ReportParams reportParams, I18nFormat i18nFormat, String reportingPeriodName ) { this.name = name; === modified file 'dhis-2/dhis-support/dhis-support-system/src/main/resources/html-report-template.html' --- dhis-2/dhis-support/dhis-support-system/src/main/resources/html-report-template.html 2013-03-14 13:07:10 +0000 +++ dhis-2/dhis-support/dhis-support-system/src/main/resources/html-report-template.html 2013-05-15 13:39:24 +0000 @@ -56,6 +56,8 @@ var name = orgUnitHierarchy[0].name;

+var orgUnitChildren = dhis2.report.organisationUnitChildren; // An array with child org unit objects

+ var periods = dhis2.report.periods; // An array with period identifiers

var period = periods[0];