Remove console log
This commit is contained in:
parent
3a65c87714
commit
c0967ffe01
|
@ -141,7 +141,6 @@ export const buildLuceneQuery = filter => {
|
||||||
query[operator][field] = value
|
query[operator][field] = value
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log("VAL ", value)
|
|
||||||
query[operator][field] = value
|
query[operator][field] = value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -223,7 +222,7 @@ export const runLuceneQuery = (docs, query) => {
|
||||||
if (typeof testValue === "string") {
|
if (typeof testValue === "string") {
|
||||||
testValue = testValue.split(",")
|
testValue = testValue.split(",")
|
||||||
if (typeof docValue === "number") {
|
if (typeof docValue === "number") {
|
||||||
testValue = testValue.map(item => Number(item))
|
testValue = testValue.map(item => parseFloat(item))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return !testValue?.includes(docValue)
|
return !testValue?.includes(docValue)
|
||||||
|
|
Loading…
Reference in New Issue