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

document code Pagination sort order error: #58

Open
nickfan opened this issue Aug 23, 2020 · 0 comments
Open

document code Pagination sort order error: #58

nickfan opened this issue Aug 23, 2020 · 0 comments

Comments

@nickfan
Copy link

nickfan commented Aug 23, 2020

in pagination.py:

def apply_pagination(...)
...

return query, Pagination(page_number, page_size, num_pages, total_results)

image

in the document:

page_size, page_number, num_pages, total_results = pagination

image

it will cause page_size became page_number and page_number became page_size

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

1 participant