以时间进行排序
This commit is contained in:
parent
7b6833fbfd
commit
49a1a8055c
|
@ -415,7 +415,7 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
$select=$this->db->select();
|
||||
$select->from('comments')
|
||||
->joinLeft('metadata','metadata.uuid=comments.uuid','title')
|
||||
->order('comments.uuid desc')
|
||||
->order('comments.ts_created desc')
|
||||
->order('comments.id desc');
|
||||
$paginator = Zend_Paginator::factory($select);
|
||||
$paginator->setCurrentPageNumber($this->_getParam('page'));
|
||||
|
|
Loading…
Reference in New Issue