Remove console log

This commit is contained in:
Mel O'Hagan 2022-06-27 14:37:15 +01:00
parent 3a65c87714
commit c0967ffe01
1 changed files with 1 additions and 2 deletions

View File

@ -141,7 +141,6 @@ export const buildLuceneQuery = filter => {
query[operator][field] = value
}
} else {
console.log("VAL ", value)
query[operator][field] = value
}
}
@ -223,7 +222,7 @@ export const runLuceneQuery = (docs, query) => {
if (typeof testValue === "string") {
testValue = testValue.split(",")
if (typeof docValue === "number") {
testValue = testValue.map(item => Number(item))
testValue = testValue.map(item => parseFloat(item))
}
}
return !testValue?.includes(docValue)