-
Notifications
You must be signed in to change notification settings - Fork 2k
Object pagination #1048
Comments
Yes when admin is viewing all users. |
Yes, but this pagination is not optimized. In my opinion, pagination should load X objects every time you press an index button |
@0xNacho You're right. If you need to paginate on a large amount of data, you'll have to take it server-side. You need a route that can fetch the data you want, based on the state of your pagination. This is a good discussion. I agree with the recommendation that you should have some sort of criteria, like a date filter, other than you're pagination parameters. |
Indeed a good topic. |
Cool! |
@lirantal Sounds like a good idea. I'll take a look at it, after 0.4.2 is released. |
Grea! On Mon, Nov 9, 2015 at 10:43 AM, Michael Leanos notifications@github.com
Sincerely, Liran Tal Author |
How is it going? some progress with this? what is the release this feature will be added in? |
You can use the mongoose-paginate plugin for mongoose, its very simple to integrate, I have done the same. Here is a link to it mongoose-paginate |
@sparshy The mongoose-paginate looks promising. However, it only works with Node >= 4.2. We're not quite there yet. I'm planning on looking at some alternatives, and if there's a simple implementation without adding any dependencies. Does anyone have any suggestions? |
@0xNacho Have a look at the PR referenced here. WDYT? If others could also give feedback on this feature, that would be very helpful. Key considerations with our server-side paging implementation:
|
Nice work @mleanos ! Two suggestions:
|
@0xNacho Good feedback. I'll look at adding an index for As for the |
Closing issue. |
Adds functionality for filtering, sorting, and paging, mongoose queries on the server-side. Added error message to list view when server returns error NOTE: This has been implemented for just the main (public) Articles list view. We can discuss if we want this on the Admin list as well. TODO: (Are these necessary for the framework? Or should we let our users roll their own client-side filtering mechanisms?) 1) Add client-side search input for filtering 2) Create directive for search inputs Closes meanjs#1048
Hi there.
Is there any pagination system implemented when listing entities?
Thanks!
The text was updated successfully, but these errors were encountered: