Changeset 1664
- Timestamp:
- Oct 4, 2010, 11:28:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/citoyen/actions/actions.class.php
r1296 r1664 26 26 $query = Doctrine::getTable('Citoyen') 27 27 ->createQuery('c') 28 ->select('c.*, count(distinct(co.id)) as nb_comment'.$datecom)28 ->select('c.*, sum(co.is_public) as nb_comment'.$datecom) 29 29 ->leftJoin('c.Commentaires co') 30 30 ->where('c.is_active = ?', true)
Note: See TracChangeset
for help on using the changeset viewer.