=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js 2014-10-14 15:17:01 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js 2014-10-15 09:46:08 +0000 @@ -1308,11 +1308,14 @@ isPlugin = GIS.plugin && !GIS.app, url = function() { var params = '?ou=ou:'; + for (var i = 0; i < items.length; i++) { params += items[i].id; params += i !== items.length - 1 ? ';' : ''; } + params += '&displayProperty=' + gis.init.userAccount.settings.keyAnalysisDisplayProperty.toUpperCase(); + return gis.init.contextPath + '/api/geoFeatures.' + (isPlugin ? 'jsonp' : 'json') + params + '&viewClass=detailed'; }(), success, @@ -1577,10 +1580,14 @@ isPlugin = GIS.plugin && !GIS.app, url = function() { var params = '?ou=ou:'; + for (var i = 0; i < items.length; i++) { params += items[i].id; params += i !== items.length - 1 ? ';' : ''; } + + params += '&displayProperty=' + gis.init.userAccount.settings.keyAnalysisDisplayProperty.toUpperCase(); + return gis.init.contextPath + '/api/geoFeatures.' + (isPlugin ? 'jsonp' : 'json') + params; }(), success, @@ -1921,10 +1928,14 @@ isPlugin = GIS.plugin && !GIS.app, url = function() { var params = '?ou=ou:'; + for (var i = 0; i < items.length; i++) { params += items[i].id; params += i !== items.length - 1 ? ';' : ''; } + + params += '&displayProperty=' + gis.init.userAccount.settings.keyAnalysisDisplayProperty.toUpperCase(); + return gis.init.contextPath + '/api/geoFeatures.' + (isPlugin ? 'jsonp' : 'json') + params; }(), success,