← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11091: (GIS) Performance fix.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 11091 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-05-29 21:37:41 +0200
message:
  (GIS) Performance fix.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js


--
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-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js	2013-05-27 17:01:17 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js	2013-05-29 19:25:24 +0000
@@ -1365,14 +1365,17 @@
 			paramString += '&dimension=dx:' + view[type].id;
 		}
 
+		// Filter
 		paramString += '&filter=pe:' + view.period.id;
 
+		// Skip metaData
+		paramString += '&skipMeta=false';
+
 		Ext.Ajax.request({
 			url: gis.baseUrl + '/api/analytics.json' + paramString,
 			disableCaching: false,
 			scope: this,
 			success: function(r) {
-				//var values = r,
 				var response = Ext.decode(r.responseText),
 					dimConf = gis.conf.finals.dimension,
 					featureMap = {},