dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25762
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12809: Fixed bug in event analytics generation
------------------------------------------------------------
revno: 12809
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-10-24 00:56:04 +0200
message:
Fixed bug in event analytics generation
modified:
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.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/JdbcEventAnalyticsTableManager.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java 2013-09-30 14:44:52 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java 2013-10-23 22:56:04 +0000
@@ -222,7 +222,7 @@
String select = "(select identifier from patientidentifier where patientid=pi.patientid and " +
"patientidentifiertypeid=" + identifierType.getId() + ") as " + identifierType.getUid();
- String[] col = { identifierType.getUid() + "character varying(31)", select };
+ String[] col = { identifierType.getUid(), "character varying(31)", select };
columns.add( col );
}