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

PageNumberPagination support page_size as API param #1426

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zhaozigu
Copy link
Contributor

@zhaozigu zhaozigu commented Mar 17, 2025

Currently, PageNumberPagination doesn't support passing a page_size parameter through the API, which causes limitations for highly customized frontend components (such as those with dropdown menus for adjusting items per page Ant Design's Table).

This change adds page_size as an optional parameter while maintaining backward compatibility, allowing clients to dynamically adjust the number of items displayed per page when consuming the API.

@zhaozigu zhaozigu changed the title PageNumberPagination support page_size PageNumberPagination support page_size as API param Mar 17, 2025
@zhaozigu
Copy link
Contributor Author

zhaozigu commented Mar 17, 2025

docs

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

Successfully merging this pull request may close these issues.

1 participant