query parsing bug fix
This commit is contained in:
@@ -42,7 +42,7 @@ function formulaToMongoFilter(formula: string): MongoFilter {
|
||||
return { [trimmedField]: { $in: parsedValues } };
|
||||
}
|
||||
// If not equals operator, use $nin
|
||||
else if (operator === "!=") {
|
||||
else if (operator === "!") {
|
||||
return { [trimmedField]: { $nin: parsedValues } };
|
||||
}
|
||||
// Other operators don't make sense with arrays
|
||||
|
||||
Reference in New Issue
Block a user