mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
Merge pull request #1120 from getredash/feature/params_ui
Fix: default vale for parameters should be [] and not {}
This commit is contained in:
@@ -586,7 +586,7 @@
|
||||
this.cachedQueryText = this.query.query;
|
||||
var parameterNames = this.parseQuery();
|
||||
|
||||
this.query.options.parameters = this.query.options.parameters || {};
|
||||
this.query.options.parameters = this.query.options.parameters || [];
|
||||
|
||||
var parametersMap = {};
|
||||
_.each(this.query.options.parameters, function(param) {
|
||||
|
||||
Reference in New Issue
Block a user