Skip to content

Pagination helper doesn't return active page information when first pages are hidden. #100

Description

@danielck

How to reproduce this bug:

  1. Use the pagination helper in a listing with lots of content (or use a very small posts_per_page setting)
  2. Navigate to a page where at least the first two pages are no longer shown (they are replaced with a ...)
  3. The active property is no longer set.

In the below screenshot, number 7 should be highlighted.

screenshot 2019-01-22 at 14 07 42

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