Skip to content

Suggestion: customise orphans per pagination #130

@interDist

Description

@interDist

The {% paginate %} template tag allows specifying the page size (#67) as well as the first page size, however, the number of orphans is global and cannot be modified for the specific paginated list. In some cases it is desirable to have a larger or smaller number of orphans for the different lists.

I suggest including an optional third parameter to the page size section of the tag, in a backwards-compatible manner:

{% paginate FIRST_PAGE,OTHER_PAGES,ORPHANS entries %}

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