Revision: 241
http://sourceforge.net/p/beeframework/code/241
Author: m_plomer
Date: 2014-10-01 15:33:22 +0000 (Wed, 01 Oct 2014)
Log Message:
-----------
Persistence: fixed severe pagination bug in Doctrine2 DaoBase
Modified Paths:
--------------
trunk/framework/Bee/Persistence/Doctrine2/DaoBase.php
Modified: trunk/framework/Bee/Persistence/Doctrine2/DaoBase.php
===================================================================
--- trunk/framework/Bee/Persistence/Doctrine2/DaoBase.php 2014-10-01 15:30:32 UTC (rev 240)
+++ trunk/framework/Bee/Persistence/Doctrine2/DaoBase.php 2014-10-01 15:33:22 UTC (rev 241)
@@ -155,6 +155,7 @@
$q->setFirstResult($orderAndLimitHolder->getCurrentPage() * $orderAndLimitHolder->getPageSize());
$q->setMaxResults($orderAndLimitHolder->getPageSize());
$paginator = new Paginator($q, $this->useWhereInPagination());
+ $paginator->setUseOutputWalkers(false);
$orderAndLimitHolder->setResultCount(count($paginator));
return $paginator;
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|