dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37130
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18990: bug fix in event query
------------------------------------------------------------
revno: 18990
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-04-23 11:11:41 +0200
message:
bug fix in event query
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-04-21 20:08:55 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/JdbcEventStore.java 2015-04-23 09:11:41 +0000
@@ -236,7 +236,7 @@
"from programstageinstance psi " +
"inner join programinstance pi on pi.programinstanceid=psi.programinstanceid " +
"inner join program p on p.programid=pi.programid " +
- "inner join programstage ps on ps.programid=p.programid " +
+ "inner join programstage ps on ps.programstageid=psi.programstageid " +
"left join trackedentityinstance tei on tei.trackedentityinstanceid=pi.trackedentityinstanceid ";
if ( params.getEventStatus() == null || EventStatus.isExistingEvent( params.getEventStatus() ) )