Skip to content

Pager generates unexpected number of available pages #255

Open
@einorler

Description

@einorler

In certain circumstances the pager can display more pages than it normally should. The problem lies here:

$end = $begin + $this->maxPages - 2;

The problem here is that here $end can be more than the maximum number of available pages if the $this->maxPages parameter is higher than 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions