dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23058
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11209: Minor fix.
------------------------------------------------------------
revno: 11209
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-06-14 11:23:19 +0700
message:
Minor fix.
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/jdbc/JdbcCaseAggregationConditionManager.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-patient/src/main/java/org/hisp/dhis/caseaggregation/jdbc/JdbcCaseAggregationConditionManager.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/jdbc/JdbcCaseAggregationConditionManager.java 2013-06-14 04:17:29 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/caseaggregation/jdbc/JdbcCaseAggregationConditionManager.java 2013-06-14 04:23:19 +0000
@@ -377,6 +377,8 @@
@Override
public String parseExpressionDetailsToSql( String caseExpression, String operator, Integer orgunitId, Period period )
{
+ caseExpression = formatExpression( caseExpression );
+
String sql = "SELECT ";
boolean hasPatients = hasPatientCriteria( caseExpression );