dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40135
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20324: Minor
------------------------------------------------------------
revno: 20324
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-09-23 19:18:09 +0200
message:
Minor
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityInstanceStore.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/trackedentity/hibernate/HibernateTrackedEntityInstanceStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityInstanceStore.java 2015-09-22 04:27:04 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityInstanceStore.java 2015-09-23 17:18:09 +0000
@@ -189,7 +189,7 @@
if ( params.hasProgram() )
{
hql += hlp.whereAnd() + "exists (from ProgramInstance pi where pi.entityInstance=tei";
- hql += hlp.whereAnd() + "pi.program.uid = '" + params.getProgram().getUid() + "'";
+ hql += " and pi.program.uid = '" + params.getProgram().getUid() + "'";
if ( params.hasProgramStatus() )
{