PageNumberPagination.get_page_number returns 1 when page_query_param == 0 #9534
-
version 3.15.2 Not sure if this is expected behavior, but when page_query_param == 0, the page_number variable sets to 1 in
where:
I believe the original intention is to check empty string not value 0: #8578 I would consider the
|
Beta Was this translation helpful? Give feedback.
Answered by
tomchristie
Sep 12, 2024
Replies: 1 comment
-
Seems like a reasonable enough behavior. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dishn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like a reasonable enough behavior.