fix: Show Totals error with sort and group by together (#19072)

This commit is contained in:
Smart-Codi 2022-03-10 04:35:29 +00:00 committed by GitHub
parent e97cdba092
commit bc6aad0a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,8 @@ const buildQuery: BuildQuery<TableChartFormData> = (
row_limit: 0,
row_offset: 0,
post_processing: [],
order_desc: undefined, // we don't need orderby stuff here,
orderby: undefined, // because this query will be used for get total aggregation.
});
}