dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41804
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21330: PT DV dim items fix.
------------------------------------------------------------
revno: 21330
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-12-04 13:10:23 +0100
message:
PT DV dim items fix.
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.js
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/scripts/app.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-pivot/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.js 2015-12-04 12:08:04 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.js 2015-12-04 12:10:23 +0000
@@ -6063,7 +6063,7 @@
return;
}
- path = '/dimensions/' + dimension.id + '/items.json' + (filter ? '?filter=' + nameProperty + ':ilike:' + filter : '');
+ path = '/dimensions/' + dimension.id + '/items.json?fields=id,' + namePropertyUrl + (filter ? '&filter=' + nameProperty + ':ilike:' + filter : '');
if (noPaging) {
params.paging = false;
=== 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-12-04 12:08:04 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/scripts/app.js 2015-12-04 12:10:23 +0000
@@ -6142,7 +6142,7 @@
return;
}
- path = '/dimensions/' + dimension.id + '/items.json' + (filter ? '?filter=' + nameProperty + ':ilike:' + filter : '');
+ path = '/dimensions/' + dimension.id + '/items.json?fields=id,' + namePropertyUrl + (filter ? '&filter=' + nameProperty + ':ilike:' + filter : '');
if (noPaging) {
params.paging = false;