mirror of
https://github.com/apache/superset.git
synced 2026-04-24 18:44:53 +00:00
refactor: remove useless groupby from QueryObject (#21643)
This commit is contained in:
@@ -23,7 +23,6 @@ export default function buildQuery(formData: QueryFormData) {
|
||||
return buildQueryContext(formData, baseQueryObject => [
|
||||
{
|
||||
...baseQueryObject,
|
||||
groupby: formData.groupby || [],
|
||||
...(sort_by_metric && { orderby: [[metric, false]] }),
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user