-
Notifications
You must be signed in to change notification settings - Fork 79
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
Page number not updating when chaning page_parameter #76
Comments
Sorry, I'm not quite sure what do you mean. Could you paste some codes for example? |
|
Hello @poltorres0999 I also had the same issue. I found this bug in the code and I fixed it. I also found one other bug which I also fixed. So we want to specify a custom page and per page parameters ('p' and 'pp'). Expected behaviour is that we get page looking like this which we get! But the problem is when you click '2' or '3' or any other number in the pagination.info generated area this happens. Can you spot the problem? The number of pagination pages in the pagination.info didn't change. That means if we go to the last page, we will get no results |
version |
The issue is still relevant in version 0.7.1. Have two tables and two Pagination objects, when change the page_parameter param for one. Pagination links don't show right page for a Pagination object which doesn't have default page param. |
hey @aleksandar try to use my fix here https://github.com/lixxu/flask-paginate/pull/85/commits 😃 |
Hi,
I'm experimenting an issue when chaning the default page_parameter to have two pagination objects, since the page number is not chaging when selecting any of the pages of any of the two tables, the data is changing correctly and the query string is also updating it's values correctly.
Thank you,
Pol
The text was updated successfully, but these errors were encountered: