=== 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;