singlow / meteor-live-maps

Live map markers for google maps.
10 stars 5 forks source link

Uncaught Error: must use ordered observe (ie, 'addedBefore' instead of 'added') with skip or limit #6

Open brugnara opened 9 years ago

brugnara commented 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"
        ),