Scope view filters to table always

This commit is contained in:
Rory Powell 2021-10-25 13:34:48 +01:00
parent 04b9ad1aae
commit 54c5ae1441
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ function viewTemplate({ field, tableId, groupBy, filters = [], calculation }) {
delete filters[0].conjunction
}
const parsedFilters = parseFilterExpression(filters)
const filterExpression = parsedFilters ? `&& ${parsedFilters}` : ""
const filterExpression = parsedFilters ? `&& (${parsedFilters})` : ""
const emitExpression = parseEmitExpression(field, groupBy)