Fix many more search tests.
This commit is contained in:
parent
f475454bce
commit
76453bd500
|
@ -92,7 +92,7 @@ export async function search(
|
|||
if (options.query) {
|
||||
const visibleFields = (
|
||||
options.fields || Object.keys(table.schema)
|
||||
).filter(field => table.schema[field].visible)
|
||||
).filter(field => table.schema[field].visible !== false)
|
||||
|
||||
const queryableFields = await getQueryableFields(table, visibleFields)
|
||||
options.query = removeInvalidFilters(options.query, queryableFields)
|
||||
|
|
Loading…
Reference in New Issue