Skip to content
Snippets Groups Projects
user avatar
Roman Vohník authored
Method getCount correctly uses doctrine's Paginator, but getData returns result directly. It's causing wrong pagination in grid if you provide QueryBuilder with joins - shows less rows than it should be.

This commit change getData method to return result via doctrine's Paginator.

@see http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/pagination.html
52d798a8
History
Name Last commit Last update