← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9961: minor fixes

 

------------------------------------------------------------
revno: 9961
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-03-04 14:16:07 +0300
message:
  minor fixes
modified:
  dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.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-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.java'
--- dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.java	2013-03-04 10:58:36 +0000
+++ dhis-2/dhis-web/dhis-web-api-fred/src/main/java/org/hisp/dhis/web/webapi/v1/controller/FacilityController.java	2013-03-04 11:16:07 +0000
@@ -280,7 +280,7 @@
         }
         else if ( active == null )
         {
-            if ( limit != null )
+            if ( limitValue != null )
             {
                 allOrganisationUnits = new ArrayList<OrganisationUnit>( organisationUnitService.
                     getOrganisationUnitsBetweenByLastUpdated( lastUpdated, offset, limitValue ) );
@@ -303,7 +303,7 @@
         }
         else
         {
-            if ( limit != null )
+            if ( limitValue != null )
             {
                 allOrganisationUnits = new ArrayList<OrganisationUnit>( organisationUnitService.
                     getOrganisationUnitsBetweenByStatusLastUpdated( active, lastUpdated, offset, limitValue ) );