Skip to content

Pagniation breaks when skipping to last page #746

@mosguinz

Description

@mosguinz

Using the ⏭️ reaction to skip to the last page causes an exception.

image

The prime suspect appears to be this line:

current_page = len(paginator.pages - 1)

Should probably instead be:

current_page = len(paginator.pages) - 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)t: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions