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

return game counts #944

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

return game counts #944

wants to merge 1 commit into from

Conversation

andy-k
Copy link
Collaborator

@andy-k andy-k commented Mar 14, 2022

return game counts alongside nonempty responses, so that frontend can use https://ant.design/components/pagination/

known feature: when requested an out-of-range page (for example: page 3 of a 5-item result) it will return 0 count. frontend should retry with page 1 to be really sure it's zero count. not sure if it's worth the extra code to get the correct count in this case.

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