Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination for ItemList #47

Open
fsto opened this issue Jan 24, 2019 · 2 comments
Open

Pagination for ItemList #47

fsto opened this issue Jan 24, 2019 · 2 comments

Comments

@fsto
Copy link

fsto commented Jan 24, 2019

When ItemLists become big it'd be amazing if django-controlcenter could offer pagination.

@byashimov
Copy link
Owner

That will require an extra view and client side app to download the new data. And that is the new level of complexity.
Or probably you want to download a lot of data at once and paginate them on client side?

@fsto
Copy link
Author

fsto commented Jan 29, 2019

@byashimov the problem I'd like to solve is decrease the time it takes to get the data on big data sets. So your first option with different views is the desired alternative for me, but I do understand the increased complexity.

One very high level approach I'm thinking of is to use limit_to property as a page size for ItemLists and then change the [:limit_to] to something like [page*limit_to-limit_to:page*limit_to] where page starts at 1.

I'm of coarse aware that this is not even covering the whole challenge at a high level, but it's a start :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants