Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Phalcon paginator's bug?

Today I found a very strange question with phalcon paginator. My model resultset has three objects in total and I get paginator result with limit 3 and page 1. But I only can get two objects. If I dump the results, I get three objects!

http://ntu.me/di/MPFH4/QQ20140719-2.png http://ntu.me/di/V6K6H/QQ20140719-2@2x.png http://ntu.me/di/8MR6J/QQ20140719-1.png http://ntu.me/di/UXN0F/QQ20140719-1@2x.png



84.5k

Could you please try again using 1.3.3?



1.8k
Accepted
answer

I change to use query builder which doesn't have performance issue and the problem has been solved.