meteor-pages
meteor-pages copied to clipboard
How does this work with subscriptions?
I was just wondering how this package interacted with subscriptions? When I try to do pagination based on subscriptions, it seems to instead paginate entire collections, ignoring the sub that a route's content is based upon.
Do I need to be configuring my pagination somehow to account for this? I'm confused.
In my experience it generates collected-wide subscriptions when you create a list.
You can use the fileds directive that is not provided in the examples,
page = new Meteor.Pagination(users { fields:{ "username": 1, "mail": 1 }, ...