-
Notifications
You must be signed in to change notification settings - Fork 677
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 from page 1 (one-indexed-parameters) not runs well #2889
Comments
I suspect you serialize a To produce proper and stable JSON representations use |
Good morning, Yes, I serialize the page instance, but I don't know if the problem lies there. When I use "one-indexed-parameters = true," the "number" value continues to use "zero-indexed-parameters." However, when "one-indexed-parameters = false," everything works well. Regards, |
Same problem |
|
Good morning from spain.
My scope is Spring boot 3.1 I'm implemeting REST service and I have pagination for return large list of elements. For default Spring boot manage the page from 0 index. I have reading that is possible start pagination from page 1, using this senetence in application.yaml:
With new settings, the page 0 and the page 1 is the same. It show the same result. The problem is that the param "number" on paginations settings always show one page less, that I access:
Examples:
To page 0
To page 1
To page 2
Thanks for your attention
The text was updated successfully, but these errors were encountered: