Revision: 218
http://sourceforge.net/p/beeframework/code/218
Author: m_plomer
Date: 2014-09-17 23:51:13 +0000 (Wed, 17 Sep 2014)
Log Message:
-----------
- fixed broken pagination in 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-09-17 13:37:04 UTC (rev 217)
+++ trunk/framework/Bee/Persistence/Doctrine2/DaoBase.php 2014-09-17 23:51:13 UTC (rev 218)
@@ -113,7 +113,6 @@
}
if ($orderAndLimitHolder->getPageSize() > 0) {
- $queryBuilder->setMaxResults($orderAndLimitHolder->getPageSize());
// TODO: build a performant count-query! This is simply bullshit!
$pageCount = ceil(count($this->getQueryFromBuilder($queryBuilder)->execute()) / $orderAndLimitHolder->getPageSize());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|