← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16886: minor bugfix

 

------------------------------------------------------------
revno: 16886
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-10-01 10:52:37 +0700
message:
  minor bugfix
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/dataelement/DataElementOperandController.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/dataelement/DataElementOperandController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/dataelement/DataElementOperandController.java	2014-09-30 04:38:03 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/dataelement/DataElementOperandController.java	2014-10-01 03:52:37 +0000
@@ -75,9 +75,9 @@
             {
                 String filter = iterator.next();
 
-                if ( filter.startsWith( "dataElement.dataElementGroup.id:eq:" ) )
+                if ( filter.startsWith( "dataElement.dataElementGroups.id:eq:" ) )
                 {
-                    deGroup = filter.substring( "dataElement.dataElementGroup.id:eq:".length() );
+                    deGroup = filter.substring( "dataElement.dataElementGroups.id:eq:".length() );
                     iterator.remove();
                     break;
                 }
@@ -87,6 +87,8 @@
             {
                 DataElementGroup dataElementGroup = manager.get( DataElementGroup.class, deGroup );
                 dataElementOperands = new ArrayList<>( categoryService.getFullOperands( dataElementGroup.getMembers() ) );
+
+                System.err.println( "operands:" + dataElementOperands );
             }
             else
             {