← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19083: minor

 

------------------------------------------------------------
revno: 19083
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-05-04 12:04:37 +0200
message:
  minor
modified:
  dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.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-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.java	2015-05-04 08:58:19 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.java	2015-05-04 10:04:37 +0000
@@ -203,7 +203,7 @@
      */
     private String buildSql( EventSearchParams params, List<OrganisationUnit> organisationUnits )
     {
-        String sql = "select * from ((";
+        String sql = "select * from (";
         
         sql += getEventSelectQuery( params, organisationUnits );
         
@@ -219,7 +219,7 @@
         
         sql += ") as cm on event.psi_id=cm.psic_id";
         
-        sql += ") order by psi_uid desc ";
+        sql += " order by psi_uid desc ";
         
         return sql;
     }