mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
[sql lab] visualization flow: fixing the groupby parameter (#2681)
This commit is contained in:
parent
0fdb57a181
commit
ac3aba7c7d
@ -146,7 +146,7 @@ class VisualizeModal extends React.PureComponent {
|
||||
formData.metric = mainMetric.name;
|
||||
}
|
||||
if (mainGroupBy) {
|
||||
formData.groupby = mainGroupBy.name;
|
||||
formData.groupby = [mainGroupBy.name];
|
||||
}
|
||||
window.open(getExploreUrl(formData));
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user