dustpress icon indicating copy to clipboard operation
dustpress copied to clipboard

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

Open danielck opened this issue 6 years ago • 1 comments

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

danielck avatar Jan 22 '19 12:01 danielck

The third issue "3. The active property is no longer set." will be fixed in https://github.com/devgeniem/dustpress/pull/103.

Liblastic avatar Feb 04 '19 14:02 Liblastic