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) {
|
if (options.query) {
|
||||||
const visibleFields = (
|
const visibleFields = (
|
||||||
options.fields || Object.keys(table.schema)
|
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)
|
const queryableFields = await getQueryableFields(table, visibleFields)
|
||||||
options.query = removeInvalidFilters(options.query, queryableFields)
|
options.query = removeInvalidFilters(options.query, queryableFields)
|
||||||
|
|
Loading…
Reference in New Issue