Hi, I use this code to display articles on my page,
public function executeIndex() { $c = new Criteria(); $c->addDescendingOrderByColumn(ArticlePeer::CREATED_AT); $pager = new sfPropelPager('Article', 10); $pager->setPeerMethod('doSelectJoinSfGuardUserProfile'); $pager->setCriteria($c); $pager->setPage($this->getRequestParameter('page', 1)); $pager->init(); $this->pager = $pager; } It list 10 articles, it's all fine but is there any way to display only one article from one author? so the SfGuardUserProfileId would be unique? Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---