mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3207: Paginator does not count according to query max results #3970
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jul 5, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user draeli:
I use
Doctrine\ORM\Tools\Pagination\Paginatorto have an paginate object and use like this :In this case when I do a count on object result and have "int 2" in spite I expected "int 1".
I look the class and find may be the problem, why there is this ?
in "count" method.
If I remove this line, expected result appear.