Skip to content

Pager generates unexpected number of available pages #255

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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