dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15888
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5866: local vn - Fixed issue of copying for Period listing.
------------------------------------------------------------
revno: 5866
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-02-06 12:31:55 +0700
message:
local vn - Fixed issue of copying for Period listing.
modified:
local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/hibernate/HibernateExportReportStore.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 'local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/hibernate/HibernateExportReportStore.java'
--- local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/hibernate/HibernateExportReportStore.java 2011-11-03 04:26:28 +0000
+++ local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/hibernate/HibernateExportReportStore.java 2012-02-06 05:31:55 +0000
@@ -44,6 +44,7 @@
import org.hisp.dhis.reportsheet.ExportReportCategory;
import org.hisp.dhis.reportsheet.ExportReportNormal;
import org.hisp.dhis.reportsheet.ExportReportOganiztionGroupListing;
+import org.hisp.dhis.reportsheet.ExportReportPeriodColumnListing;
import org.hisp.dhis.reportsheet.ExportReportStore;
import org.hisp.dhis.reportsheet.PeriodColumn;
import org.hisp.dhis.reportsheet.status.DataEntryStatus;
@@ -204,6 +205,10 @@
{
clazz = ExportReportOganiztionGroupListing.class;
}
+ else
+ {
+ clazz = ExportReportPeriodColumnListing.class;
+ }
return getExportReportsByClazz( clazz );
}