Skip to content

document code Pagination sort order error: #58

Open
@nickfan

Description

@nickfan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions