Migrate dataviews endpoints to use the allow-query-params

This commit is contained in:
Daniel García Aubert
2017-06-08 19:22:33 +02:00
parent 2772fc62d2
commit 29a6658e3d
2 changed files with 46 additions and 24 deletions
+2 -12
View File
@@ -17,18 +17,8 @@ var REQUEST_QUERY_PARAMS_WHITELIST = [
'zoom',
'lon',
'lat',
// widgets & filters
'filters', // json
'own_filter', // 0, 1
'bbox', // w,s,e,n
'bins', // number
'start', // number
'end', // number
'column_type', // string
'aggregation', //string
'timezone', // number
// widgets search
'q'
// analysis
'filters' // json
];
function BaseController(authApi, pgConnection) {