Merge branch 'dev' into analytics

This commit is contained in:
Mike Cao 2024-04-03 22:12:32 -07:00
commit e8e95b5960

View File

@ -31,7 +31,7 @@ export function filtersToArray(filters: QueryFilters = {}, options: QueryOptions
}
if (filter?.name && filter?.value !== undefined) {
return arr.concat(filter);
return arr.concat({ ...filter, column: options?.columns?.[key] ?? FILTER_COLUMNS[key] });
}
const { operator, value } = parseParameterValue(filter);