Pagination breaks at 10 pages

10 months 1 week ago #1929
Topic Author
Theodore Hildebrandt's Avatar
Posts: 6
Pagination breaks at 10 pages

If you have more than 10 pages in your competition, the pagination no longer works. It shows up to the 10th page, but no further.

Here's a screenshot of what it does.



As you can see, I've manually entered a "start" value in the url querystring parameters to force page 11. There is no way to navigate there with the pagination.

Attachments:
The topic has been locked.
10 months 1 week ago #1930
Topic Author
Theodore Hildebrandt's Avatar
Posts: 6
Pagination breaks at 10 pages

Fixed it by changing Line 135 of helpers/html/pagination.php from:

$pages   = count($data->pages);

To:
$pages   = $pagination->pagesTotal;

The topic has been locked.
10 months 1 week ago #1931
Dmitry's Avatar
Posts: 715
Pagination breaks at 10 pages

Hi Theodore.

Thank you for the fix. Will include it in the next version.

Best regards,
Dmitry


Like our extensions and support?
Add your voice to the JED listing with a 5-score review: bit.ly/2ciJBqC
Thanks!
The topic has been locked.
9 months 2 days ago #1995
Dmitry's Avatar
Posts: 715
Pagination breaks at 10 pages

Fixed in version 1.7.8.


Like our extensions and support?
Add your voice to the JED listing with a 5-score review: bit.ly/2ciJBqC
Thanks!
The topic has been locked.

You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+2). but not limited. Our staff will be pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days. In case of free extensions we do the best to develop and maintain them either, but their support is not necessary.

Product Latest Update

Follow us in social media