Merge pull request #1120 from getredash/feature/params_ui

Fix: default vale for parameters should be [] and not {}
This commit is contained in:
Arik Fraimovich
2016-06-14 13:17:21 +03:00
committed by GitHub

View File

@@ -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) {