diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index 2183b4828f..e7bc8e8afa 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -215,6 +215,9 @@ export const runLuceneQuery = (docs, query) => { // Process an includes match (fails if the value is not included) const oneOf = match("oneOf", (docValue, testValue) => { + if (typeof testValue === "string") { + testValue = testValue.split(",") + } return !testValue?.includes(docValue) })