dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24464
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11991: PT, DV, GIS: Using sharing view class for favorite queries
------------------------------------------------------------
revno: 11991
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-09-09 16:16:40 +0200
message:
PT, DV, GIS: Using sharing view class for favorite queries
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js
dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js
dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/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-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-09-09 13:16:51 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-09-09 14:16:40 +0000
@@ -1997,7 +1997,7 @@
this.currentValue = this.getValue();
var value = this.getValue(),
- url = value ? gis.init.contextPath + gis.conf.url.path_api + 'maps/query/' + value + '.json?links=false' : null,
+ url = value ? gis.init.contextPath + gis.conf.url.path_api + 'maps/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = gis.store.maps;
store.page = 1;
@@ -2011,7 +2011,7 @@
text: GIS.i18n.prev,
handler: function() {
var value = searchTextfield.getValue(),
- url = value ? gis.init.contextPath + gis.conf.url.path_api + 'maps/query/' + value + '.json?links=false' : null,
+ url = value ? gis.init.contextPath + gis.conf.url.path_api + 'maps/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = gis.store.maps;
store.page = store.page <= 1 ? 1 : store.page - 1;
@@ -2023,7 +2023,7 @@
text: GIS.i18n.next,
handler: function() {
var value = searchTextfield.getValue(),
- url = value ? gis.init.contextPath + gis.conf.url.path_api + 'maps/query/' + value + '.json?links=false' : null,
+ url = value ? gis.init.contextPath + gis.conf.url.path_api + 'maps/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = gis.store.maps;
store.page = store.page + 1;
=== modified file 'dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2013-09-09 13:16:51 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2013-09-09 14:16:40 +0000
@@ -1490,7 +1490,7 @@
this.currentValue = this.getValue();
var value = this.getValue(),
- url = value ? pt.init.contextPath + '/api/reportTables/query/' + value + '.json?links=false' : null,
+ url = value ? pt.init.contextPath + '/api/reportTables/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = pt.store.reportTable;
store.page = 1;
@@ -1504,7 +1504,7 @@
text: PT.i18n.prev,
handler: function() {
var value = searchTextfield.getValue(),
- url = value ? pt.init.contextPath + '/api/reportTables/query/' + value + '.json?links=false' : null,
+ url = value ? pt.init.contextPath + '/api/reportTables/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = pt.store.reportTable;
store.page = store.page <= 1 ? 1 : store.page - 1;
@@ -1516,7 +1516,7 @@
text: PT.i18n.next,
handler: function() {
var value = searchTextfield.getValue(),
- url = value ? pt.init.contextPath + '/api/reportTables/query/' + value + '.json?links=false' : null,
+ url = value ? pt.init.contextPath + '/api/reportTables/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = pt.store.reportTable;
store.page = store.page + 1;
=== modified file 'dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2013-09-09 13:16:51 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2013-09-09 14:16:40 +0000
@@ -1293,7 +1293,7 @@
this.currentValue = this.getValue();
var value = this.getValue(),
- url = value ? dv.init.contextPath + '/api/charts/query/' + value + '.json?links=false' : null,
+ url = value ? dv.init.contextPath + '/api/charts/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = dv.store.chart;
store.page = 1;
@@ -1307,7 +1307,7 @@
text: DV.i18n.prev,
handler: function() {
var value = searchTextfield.getValue(),
- url = value ? dv.init.contextPath + '/api/charts/query/' + value + '.json?links=false' : null,
+ url = value ? dv.init.contextPath + '/api/charts/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = dv.store.chart;
store.page = store.page <= 1 ? 1 : store.page - 1;
@@ -1319,7 +1319,7 @@
text: DV.i18n.next,
handler: function() {
var value = searchTextfield.getValue(),
- url = value ? dv.init.contextPath + '/api/charts/query/' + value + '.json?links=false' : null,
+ url = value ? dv.init.contextPath + '/api/charts/query/' + value + '.json?viewClass=sharing&links=false' : null,
store = dv.store.chart;
store.page = store.page + 1;