From 52f136a43063ee3a8bfd2e91b0834cd01c5bc417 Mon Sep 17 00:00:00 2001 From: Andy Clyde Date: Wed, 28 Oct 2015 13:42:20 +0000 Subject: [PATCH] Fixes #268 --- Entity/PostManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Entity/PostManager.php b/Entity/PostManager.php index 980c71b2..b3e5f6b0 100644 --- a/Entity/PostManager.php +++ b/Entity/PostManager.php @@ -97,7 +97,7 @@ public function getPager(array $criteria, $page, $limit = 10, array $sort = arra $parameters = array(); $query = $this->getRepository() ->createQueryBuilder('p') - ->select('p, t') + ->select('p') ->orderBy('p.publicationDateStart', 'DESC'); if ($criteria['mode'] == 'admin') {