mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
Fixed filtering on insights report.
This commit is contained in:
parent
cf8d49f867
commit
ada332f174
@ -31,7 +31,7 @@ export function filtersToArray(filters: QueryFilters = {}, options: QueryOptions
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (filter?.name && filter?.value !== undefined) {
|
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);
|
const { operator, value } = parseParameterValue(filter);
|
||||||
|
Loading…
Reference in New Issue
Block a user