dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30916
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15718: Updated analytics table generation to new data element domain enum
------------------------------------------------------------
revno: 15718
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-06-17 12:52:38 +0200
message:
Updated analytics table generation to new data element domain enum
modified:
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcAnalyticsTableManager.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-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcAnalyticsTableManager.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcAnalyticsTableManager.java 2014-06-16 19:51:38 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcAnalyticsTableManager.java 2014-06-17 10:52:38 +0000
@@ -193,7 +193,7 @@
"left join categoryoptioncombo co on dv.categoryoptioncomboid=co.categoryoptioncomboid " +
"left join period pe on dv.periodid=pe.periodid " +
"where de.valuetype = '" + valueType + "' " +
- "and de.domaintype = 'aggregate' " +
+ "and de.domaintype = 'AGGREGATE' " +
"and pe.startdate >= '" + start + "' " +
"and pe.startdate <= '" + end + "' " +
"and dv.value is not null " +