dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35521
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18181: DV dimensions fields filter.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 18181 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-02-05 16:23:44 +0100
message:
DV dimensions fields filter.
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/scripts/app.js
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/chart.js
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/table.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-apps/src/main/webapp/dhis-web-visualizer/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/scripts/app.js 2015-02-03 14:37:36 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/scripts/app.js 2015-02-05 15:23:11 +0000
@@ -6541,7 +6541,7 @@
// dimensions
requests.push({
- url: contextPath + '/api/dimensions.json?links=false&paging=false',
+ url: contextPath + '/api/dimensions.json?fields=id,name&paging=false',
success: function(r) {
init.dimensions = Ext.decode(r.responseText).dimensions || [];
fn();
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/chart.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/chart.js 2015-02-05 14:55:06 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/chart.js 2015-02-05 15:21:31 +0000
@@ -3866,6 +3866,7 @@
}
});
+ // dimensions
requests.push({
url: init.contextPath + '/api/dimensions.' + type + '?fields=id,name&paging=false',
disableCaching: false,
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/table.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/table.js 2015-02-05 14:55:06 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/plugin/table.js 2015-02-05 15:21:31 +0000
@@ -2994,7 +2994,7 @@
}
});
- // user orgunit
+ // dimensions
requests.push({
url: init.contextPath + '/api/dimensions.' + type + '?fields=id,name&paging=false',
disableCaching: false,