dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41296
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21036: minor bugfix
------------------------------------------------------------
revno: 21036
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-11-12 19:21:41 +0700
message:
minor bugfix
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-10-20 06:46:47 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityInstanceStore.java 2015-11-12 12:21:41 +0000
@@ -164,11 +164,11 @@
if ( queryItem.isNumeric() )
{
- hql += " and teav.value" + queryFilter.getSqlOperator() + filter + ")";
+ hql += " and teav.value " + queryFilter.getSqlOperator() + filter + ")";
}
else
{
- hql += " and lower(teav.value)" + queryFilter.getSqlOperator() + filter + ")";
+ hql += " and lower(teav.value) " + queryFilter.getSqlOperator() + filter + ")";
}
}