Is max_pages supposed to only limit the rendered pagination links?
#889
Replies: 1 comment
-
|
Converted in Issue #890 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like if I set
max_pageswith an:offsetpaginator, this limits the number of links rendered in the pagination, but still allows loading pages past the limit by editing the URL.In the repro code below,
max_pages: 2is set, but you can visithttp://127.0.0.1:8000/?page=3&limit=10and see page 3 of the results.Is this intended behaviour? If I didn't want to allow that, is the best solution to pass in my own
pageparameter with capping logic?Beta Was this translation helpful? Give feedback.
All reactions