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

Changeset 10632


Ignore:
Timestamp:
Feb 4, 2009, 7:51:05 PM (12 years ago)
Author:
nagasawa
Message:

#3364:added addDescendingOrderByColumn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/actions/actions.class.php

    r10582 r10632  
    6363
    6464    $this->pager = new sfPropelPager('Member', 20);
    65     $this->pager->setCriteria($this->filters->getCriteria());
     65    $c = $this->filters->getCriteria();
     66    $c->addDescendingOrderByColumn(MemberPeer::ID);
     67    $this->pager->setCriteria($c);
    6668    $this->pager->setPage($request->getParameter('page', 1));
    6769    $this->pager->init();
Note: See TracChangeset for help on using the changeset viewer.