ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12247


Ignore:
Timestamp:
Jul 13, 2009, 7:13:33 PM (10 years ago)
Author:
fukamachi
Message:

#4118 fixed for listed every members of that community in event member list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opCommunityTopicPlugin/trunk/lib/model/doctrine/PluginCommunityEventTable.class.php

    r12213 r12247  
    7575  public function getEventMemberListPager($eventId, $page = 1, $size = 20)
    7676  {
    77     $q = Doctrine::getTable('Member')->createQuery()
    78       ->where('CommunityEventMember.community_event_id = ?', $eventId);
     77    $q = Doctrine::getTable('Member')->createQuery('m')
     78      ->where('e.community_event_id = ?', $eventId)
     79      ->leftJoin('m.CommunityEventMember e on m.id = e.member_id');
    7980
    8081    $pager = new sfDoctrinePager('CommunityEventMember', $size);
Note: See TracChangeset for help on using the changeset viewer.