← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14345: Fixed bug in HibernateTrackedEntityAttributeStore

 

------------------------------------------------------------
revno: 14345
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-03-22 16:22:03 +0100
message:
  Fixed bug in HibernateTrackedEntityAttributeStore
modified:
  dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityAttributeStore.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-tracker/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityAttributeStore.java'
--- dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityAttributeStore.java	2014-03-20 15:05:57 +0000
+++ dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityAttributeStore.java	2014-03-22 15:22:03 +0000
@@ -78,6 +78,6 @@
     @SuppressWarnings( "unchecked" )
     public Collection<TrackedEntityAttribute> getDisplayInList( boolean displayInList )
     {
-        return getCriteria( Restrictions.eq( "displayInList", displayInList ) ).list();
+        return getCriteria( Restrictions.eq( "displayInListNoProgram", displayInList ) ).list();
     }
 }