From 4da01b2732e63ec906caff14af053e417b1aef6f Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Wed, 18 Apr 2012 22:05:17 +0200 Subject: [PATCH] Another Postgres nuisance. --- src/IDF/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Tag.php b/src/IDF/Tag.php index b9fa25d..a996b4a 100644 --- a/src/IDF/Tag.php +++ b/src/IDF/Tag.php @@ -82,7 +82,7 @@ class IDF_Tag extends Pluf_Model 'join' => 'LEFT JOIN '.$table .' ON idf_tag_id=id', 'select' => $this->getSelect().',COUNT(idf_project_id) as project_count', - 'group' => 'idf_tag_id', + 'group' => 'id', 'props' => array('project_count' => 'project_count'), ), );