We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

BUG?Odd page_limit when total records are even items.

total record are 18; set page_limit = 17; page->next always is 1..that is not correct.



98.9k

What version are you using? What adapter are you using?



12.8k

mysql adapter Phalcon 1.1.0



98.9k

What paginator adapter are you using?



12.8k

Phalcon\Paginator\Adapter\Model

The same issue I have in version 1.3 using Phalcon\Paginator\Adapter\Model When amount of records are 1 more than the limit, the next button stays on page 1