Pagination breaks at 10 pages

3 years 6 months ago #1929 by Theodore Hildebrandt
Topic Author
Theodore Hildebrandt's Avatar
Posts: 10
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.
3 years 6 months ago #1930 by Theodore Hildebrandt
Topic Author
Theodore Hildebrandt's Avatar
Posts: 10
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.
3 years 6 months ago #1931 by Dmitrijs
Dmitrijs's Avatar
Posts: 1058
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.
3 years 4 months ago #1995 by Dmitrijs
Dmitrijs's Avatar
Posts: 1058
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.

Follow us in social media