dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33617
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17191: Minor
------------------------------------------------------------
revno: 17191
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-10-21 15:46:37 +0700
message:
Minor
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/organisationunit/OrganisationUnitController.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/organisationunit/OrganisationUnitController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/organisationunit/OrganisationUnitController.java 2014-10-21 08:44:43 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/organisationunit/OrganisationUnitController.java 2014-10-21 08:46:37 +0000
@@ -279,10 +279,10 @@
String featureType = organisationUnit.getFeatureType();
- // if featureType is anything other than Point (MultiPoint), just assume MultiPolygon
+ // if featureType is anything other than Point, just assume MultiPolygon
if ( !OrganisationUnit.FEATURETYPE_POINT.equals( featureType ) )
{
- featureType = OrganisationUnit.FEATURETYPE_POLYGON;
+ featureType = OrganisationUnit.FEATURETYPE_MULTIPOLYGON;
}
generator.writeStartObject();