Merge branch 'backport-v3-view-updates' of github.com:Budibase/budibase into view-merge-v3-ui

This commit is contained in:
mike12345567 2024-10-03 14:48:35 +01:00
commit 58c7149fc0
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export async function search(
// Enrich saved query with ephemeral query params.
// We prevent searching on any fields that are saved as part of the query, as
// that could let users find rows they should not be allowed to access.
let viewQuery = dataFilters.buildQueryLegacy(view.query || [])
let viewQuery = dataFilters.buildQueryLegacy(view.query) || {}
delete viewQuery?.onEmptyFilter
const sqsEnabled = await features.flags.isEnabled("SQS")