Skip to content

Question: default to last page when requested page is out of range (upper bound)? #134

@interDist

Description

@interDist

There might be a straight-forward way to accomplish what I specified in the title, but I haven't figured it out. To be specific, if there are only 3 pages and the user requests page 10, I would like the application to show the last available page.

What would be the possible solution?

  • in the regular pagination ({% paginate %})
  • in the lazy pagination ({% lazy_paginate %}), when number of pages is not known upfront

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