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

Switching indexes after switching pages breaks pagination tools #2

Open
adriangonzales opened this issue Jul 24, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@adriangonzales
Copy link
Owner

adriangonzales commented Jul 24, 2021

This is because the IndexResults component does not tell the ResultsFooter component that the index has changed and it needs to reset. This is complicated by the fact that the ResultsFooter component expects a page parameter, then calculates offset, limit. But IndexResults has been tracking offset and limit for API communication.

@adriangonzales adriangonzales added the bug Something isn't working label Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant