Vladimir Chub
Vladimir Chub
Any news or plans on this issue?
Yes, and there is already PR to fix it https://github.com/sensiolabs/SensioGeneratorBundle/pull/464
It is because of changes in the Doctrine pagination implementation https://github.com/doctrine/doctrine2/commit/88d0933a6e96ae158ecfeab5148aa62e6f5f5f80#lib/Doctrine/ORM/Tools/Pagination https://github.com/doctrine/doctrine2/commit/8a29d91d1550eca3ac7677a34a661e708cf553f4#lib/Doctrine/ORM/Tools/Pagination/Paginator.php So Pager pagination doesn't work correct using old method of setting parameters https://github.com/KnpLabs/knp-components/blob/8cfe4061c3ed1e4805e9291dab83e1aa14d42ada/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php#L90-95
It is similiar to https://github.com/KnpLabs/knp-components/issues/55 Try to update your doctrine.