dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21859
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10450: Fix bug in TestCaseAggregationConditionAction.
------------------------------------------------------------
revno: 10450
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-04-02 15:00:50 +0700
message:
Fix bug in TestCaseAggregationConditionAction.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/TestCaseAggregationConditionAction.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-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/TestCaseAggregationConditionAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/TestCaseAggregationConditionAction.java 2013-02-07 13:44:38 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/caseaggregation/TestCaseAggregationConditionAction.java 2013-04-02 08:00:50 +0000
@@ -143,7 +143,7 @@
period.setStartDate( new Date() );
period.setEndDate( new Date() );
- Integer value = aggregationConditionService.parseConditition( aggCondition, orgunit, period );
+ Double value = aggregationConditionService.getAggregateValue( aggCondition, orgunit, period );
if ( value == null )
{