Open brugnara opened 9 years ago
Using this query:
cursor: U.stops.find( { $and: (Session.get('u-search') || '') .trim() .split(' ').map(function (el) { return { stop_name: new RegExp(el.trim(), 'i') } }) }, {limit: 10} // this is generating the "problem" ),
Using this query: