origin
origin copied to clipboard
Allow chaining of $or with $and combinations.
See mongoid/mongoid#2547 and https://github.com/mongoid/mongoid/issues/2562
@durran, are you planning to fix this anytime soon? We stumble upon it over and over because any non-trivial scope often includes some combination of and/or.