Skip to content

Commit

Permalink
Make ':contains' filter case insensitive; fixes holidayextras#57
Browse files Browse the repository at this point in the history
  • Loading branch information
Redsandro authored Jul 21, 2018
1 parent bc15c68 commit a119f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ MongoStore._filterElementToMongoExpr = function(filterElement) {
">": { $gt: value },
"<": { $lt: value },
"~": new RegExp("^" + value + "$", "i"),
":": new RegExp(value)
":": new RegExp(value, "i")
}[filterElement.operator];
return mongoExpr;
};
Expand Down

0 comments on commit a119f63

Please sign in to comment.