← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7482: Tabular report, using cinclusive dates

 

------------------------------------------------------------
revno: 7482
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-07-02 12:42:51 +0200
message:
  Tabular report, using cinclusive dates
modified:
  dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramStageInstanceStore.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/program/hibernate/HibernateProgramStageInstanceStore.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramStageInstanceStore.java	2012-06-28 06:28:55 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramStageInstanceStore.java	2012-07-02 10:42:51 +0000
@@ -322,7 +322,7 @@
             String eDate = DateUtils.getMediumDateString( endDate );
 
             sql += "and psi.executiondate >= '" + sDate + "' ";
-            sql += "and psi.executiondate < '" + eDate + "' ";
+            sql += "and psi.executiondate <= '" + eDate + "' ";
         }
         
         if ( orgUnits != null )