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

Support showing many pages in pagination #86

Open
rapee opened this issue Nov 8, 2019 · 0 comments
Open

Support showing many pages in pagination #86

rapee opened this issue Nov 8, 2019 · 0 comments
Labels

Comments

@rapee
Copy link
Contributor

rapee commented Nov 8, 2019

Handle the case when number of pages is > 10. Current design for pagination is limited to a few pages. Support on:

  • /party (Members)
  • /senate (Members)
  • /representatives (Members)
  • /votelog (Vote Logs)

For example:

Instead of < 1 2 3 4 5 6 7 8 9 10 >

Change to < [1] 2 3 ... 10 > or < 1 ... 5 [6] 7 ... 10 >

  • [1] meaning current page is 1.

Any suggestion for library to do this?

Screen Shot 2019-11-08 at 16 08 43

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

No branches or pull requests

1 participant