← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17616: remove special path for DataElementOperand in name opt in AbstractCrudController (handled by prop...

 

------------------------------------------------------------
revno: 17616
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-11-29 17:23:37 +0700
message:
  remove special path for DataElementOperand in name opt in AbstractCrudController (handled by property.isPersisted now)
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.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-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java	2014-11-29 10:12:58 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/AbstractCrudController.java	2014-11-29 10:23:37 +0000
@@ -149,7 +149,7 @@
 
         List<T> entityList;
 
-        if ( filters.isEmpty() || DataElementOperand.class.isAssignableFrom( getEntityClass() ) )
+        if ( filters.isEmpty() )
         {
             entityList = getEntityList( metaData, options, filters );
         }