Another Postgres nuisance.

This commit is contained in:
Thomas Keller 2012-04-18 22:05:17 +02:00
parent b44ad48fd5
commit 4da01b2732

View File

@ -82,7 +82,7 @@ class IDF_Tag extends Pluf_Model
'join' => 'LEFT JOIN '.$table 'join' => 'LEFT JOIN '.$table
.' ON idf_tag_id=id', .' ON idf_tag_id=id',
'select' => $this->getSelect().',COUNT(idf_project_id) as project_count', 'select' => $this->getSelect().',COUNT(idf_project_id) as project_count',
'group' => 'idf_tag_id', 'group' => 'id',
'props' => array('project_count' => 'project_count'), 'props' => array('project_count' => 'project_count'),
), ),
); );