Check filters have been provided.

This commit is contained in:
mike12345567 2024-10-01 11:38:02 +01:00
parent 522941abf0
commit 19407d5e37
1 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,9 @@ export function searchInputMapping(table: Table, options: RowSearchParams) {
}
return dataFilters.recurseLogicalOperators(filters, checkFilters)
}
options.query = checkFilters(options.query)
if (options.query) {
options.query = checkFilters(options.query)
}
return options
}