← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19553: minor fix

 

------------------------------------------------------------
revno: 19553
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-07-07 11:02:54 +0700
message:
  minor fix
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/EnrollmentController.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/event/EnrollmentController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/EnrollmentController.java	2015-07-07 03:54:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/event/EnrollmentController.java	2015-07-07 04:02:54 +0000
@@ -119,14 +119,7 @@
 
         if ( fields.isEmpty() )
         {
-            fields.add( "enrollment" );
-            fields.add( "trackedEntityInstance" );
-            fields.add( "program" );
-            fields.add( "status" );
-            fields.add( "orgUnit" );
-            fields.add( "dateOfEnrollment" );
-            fields.add( "dateOfIncident" );
-            fields.add( "followup" );
+            fields.add( "enrollment,trackedEntityInstance,program,status,orgUnit,dateOfEnrollment,dateOfIncident,followup" );
         }
 
         if ( startDate != null && endDate != null && programUid != null && orgUnitUid != null && ouMode != null )