Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Mar 8, 2021
1 parent 555dd3b commit f01b2ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/superset-ui-core/src/query/buildQueryObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ export default function buildQueryObject<T extends QueryFormData>(
const numericRowOffset = Number(row_offset);
const { metrics, columns, orderby } = extractQueryFields(residualFormData, queryFields);

const extras = extractExtras(formData);
// collect all filters for conversion to simple filters/freeform clauses
const { filters: extraFilters = [] } = extras;
const extras = extractExtras(formData);
const extraFilters = extras.filters || [];
const { adhoc_filters: appendAdhocFilters = [], filters: appendFilters = [] } = append_form_data;
const filterFormData: {
filters: QueryObjectFilterClause[];
Expand Down

0 comments on commit f01b2ae

Please sign in to comment.