dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42216
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21571: Analytics, exluding confidential attributes
------------------------------------------------------------
revno: 21571
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2016-01-04 11:50:22 +0100
message:
Analytics, exluding confidential attributes
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 2016-01-04 10:49:18 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java 2016-01-04 10:50:22 +0000
@@ -287,7 +287,7 @@
columns.add( col );
}
- for ( TrackedEntityAttribute attribute : table.getProgram().getTrackedEntityAttributes() )
+ for ( TrackedEntityAttribute attribute : table.getProgram().getNonConfidentialTrackedEntityAttributes() )
{
String dataType = getColumnType( attribute.getValueType() );
String dataClause = attribute.isNumericType() ? numericClause : attribute.isDateType() ? dateClause : "";
@@ -300,7 +300,7 @@
columns.add( col );
}
- for ( TrackedEntityAttribute attribute : table.getProgram().getTrackedEntityAttributesWithLegendSet() )
+ for ( TrackedEntityAttribute attribute : table.getProgram().getNonConfidentialTrackedEntityAttributesWithLegendSet() )
{
String column = quote( attribute.getUid() + PartitionUtils.SEP + attribute.getLegendSet().getUid() );
String select = getSelectClause( attribute.getValueType() );