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

Negative page numbers return first page #97

Open
CostantiniMatteo opened this issue Apr 27, 2021 · 1 comment
Open

Negative page numbers return first page #97

CostantiniMatteo opened this issue Apr 27, 2021 · 1 comment

Comments

@CostantiniMatteo
Copy link

Hi, I've noticed that allow_overflow_page_number options works only for pages greater that total_pages while querying with a negative page or page 0 still yield the first page. If allow_overflow_page_number is set to true I would expect the same behaviour both for pages greater than total_pages and lowert than 1.

What do you think? Is there any way this can be supported?

Thanks!

@Neophen
Copy link

Neophen commented Mar 20, 2023

Why would you need anything lower than 0 though, what is the usecase?

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

No branches or pull requests

2 participants