List pagination - 'End' & 'Next' button Issue

nbradshaw

Active Member
The 'End' button in the List pagination is cycling between End and Start rows on button clicks.

Reproduce: Order list by id DESC. Click on End - you will see that it does go to the END (lowest id rows). Click again - and it will show the highest id rows. The Next button will go back to the highest id rows (when on End), as well (not sure if that is intended or not - but I would assume not).
 
This is already the Fabrik 3 behaviour.

But it should be fixed with
if ($this->get('pages.current') <= $this->get('pages.total'))
in libraries\fabrik\fabrik\Helpers\Pagination.php line 342
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top