← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 7854
committer: Long <thanhlongngo1988@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-08-03 10:30:42 +0700
message:
  [mobile] minor fix
modified:
  dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java
  dhis-2/dhis-web/dhis-web-sms/pom.xml


--
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-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java'
--- dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java	2012-08-02 10:43:57 +0000
+++ dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java	2012-08-03 03:30:42 +0000
@@ -125,7 +125,7 @@
     {
         ActivityPlan activityPlan = activityReportingService.getActivitiesByIdentifier( identifier );;
         activityPlan.setClientVersion( DataStreamSerializable.TWO_POINT_EIGHT );
-        return activityReportingService.getActivitiesByIdentifier( identifier );
+        return activityPlan;
     }
     
     @RequestMapping( method = RequestMethod.GET, value = "orgUnits/{id}/changeLanguageDataSet" )

=== modified file 'dhis-2/dhis-web/dhis-web-sms/pom.xml'
--- dhis-2/dhis-web/dhis-web-sms/pom.xml	2012-08-02 10:53:25 +0000
+++ dhis-2/dhis-web/dhis-web-sms/pom.xml	2012-08-03 03:30:42 +0000
@@ -68,7 +68,7 @@
     <dependency>
       <groupId>org.hisp.dhis</groupId>
       <artifactId>dhis-web-maintenance-mobile</artifactId>
-      <version>2.9</version>
+      <version>${project.version}</version>
       <type>war</type>
     </dependency>