1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

Remove console log

This commit is contained in:
Mel O'Hagan 2022-06-27 14:37:15 +01:00
parent 3a65c87714
commit c0967ffe01

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)