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

UI for setting ?_size=max on table page #1429

Open
simonw opened this issue Aug 12, 2021 · 2 comments
Open

UI for setting ?_size=max on table page #1429

simonw opened this issue Aug 12, 2021 · 2 comments

Comments

@simonw
Copy link
Owner

simonw commented Aug 12, 2021

It defaults to 100 per page, but you can increase that to 1000 per page using ?_size=max (or higher if max_returned_rows is set higher than that).

But... that's only available to people who know how to hack URLs.

Solution: add a link that sets that option to the pagination block at the bottom of the table:

data__states__28_999_rows

@simonw
Copy link
Owner Author

simonw commented Aug 12, 2021

Maybe something like this:

Next page - 100 per page (show 1,000 per page)

@simonw
Copy link
Owner Author

simonw commented Aug 13, 2021

If a count is available and the count is less than 1,000 it could say "Show all" instead.

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

No branches or pull requests

1 participant