Fix issue with multiple filters at the same time and remove unused variable

This commit is contained in:
Andrew Kingston 2023-10-12 15:46:18 +01:00
parent c906efb972
commit 6dfe2c22af
2 changed files with 1 additions and 8 deletions

View File

@ -29,13 +29,6 @@
filter,
} = getContext("grid")
const bannedDisplayColumnTypes = [
"link",
"array",
"attachment",
"boolean",
"json",
]
const searchableTypes = ["string", "options", "number", "array", "longform"]
let anchor

View File

@ -15,7 +15,7 @@ export const createActions = context => {
const { filter } = context
const addInlineFilter = (column, value) => {
const filterId = `inline-${column}`
const filterId = `inline-${column.name}`
const type = column.schema.type
let inlineFilter = {
field: column.name,