=== 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-07-17 13:53:31 +0000 +++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2013-07-17 14:32:58 +0000 @@ -4018,7 +4018,7 @@ openTableLayoutTab = function(type, isNewTab) { if (pt.baseUrl && pt.paramString) { - var url = pt.baseUrl + '/api/analytics.' + type + pt.paramString; + var url = pt.baseUrl + '/api/analytics.' + type + pt.util.pivot.getParamString(pt.xLayout); url += '&tableLayout=true&columns=' + pt.xLayout.columnDimensionNames.join(';') + '&rows=' + pt.xLayout.rowDimensionNames.join(';'); window.open(url, isNewTab ? '_blank' : '_top');