meteor-pages icon indicating copy to clipboard operation
meteor-pages copied to clipboard

How does this work with subscriptions?

Open czbaker opened this issue 10 years ago • 2 comments

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.

czbaker avatar Jun 19 '15 16:06 czbaker

In my experience it generates collected-wide subscriptions when you create a list.

wesleyfsmith avatar Jun 23 '15 22:06 wesleyfsmith

You can use the fileds directive that is not provided in the examples,

page = new Meteor.Pagination(users { fields:{ "username": 1, "mail": 1 }, ...

sieutruc avatar Aug 04 '15 15:08 sieutruc