← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19884: Minor

 

------------------------------------------------------------
revno: 19884
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2015-08-30 14:42:15 +0200
message:
  Minor
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/program/DefaultProgramIndicatorService.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-core/src/main/java/org/hisp/dhis/program/DefaultProgramIndicatorService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/program/DefaultProgramIndicatorService.java	2015-08-28 10:55:55 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/program/DefaultProgramIndicatorService.java	2015-08-30 12:42:15 +0000
@@ -787,11 +787,11 @@
     {
         if ( ProgramIndicator.VAR_EXECUTION_DATE.equals( var ) )
         {
-            return "cast(executiondate as date)";
+            return "executiondate";
         }
         else if ( ProgramIndicator.VAR_ENROLLMENT_DATE.equals( var ) )
         {
-            return "cast(enrollmentdate as date)";
+            return "enrollmentdate";
         }
         else if ( ProgramIndicator.VAR_CURRENT_DATE.equals( var ) )
         {