调整文献管理的排序,以标题进行拼音排序

This commit is contained in:
wlx 2010-06-27 07:04:56 +00:00
parent 930cd7a051
commit 043afb52eb
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ class Admin_DataController extends Zend_Controller_Action
$select->from('mdref',array('id as mdid','refid')) $select->from('mdref',array('id as mdid','refid'))
->join('metadata','metadata.uuid=mdref.uuid') ->join('metadata','metadata.uuid=mdref.uuid')
->join('reference','reference.id=mdref.refid') ->join('reference','reference.id=mdref.refid')
->order('reference.id desc'); ->order('metadata.title');
$paginator = Zend_Paginator::factory($select); $paginator = Zend_Paginator::factory($select);
$paginator->setCurrentPageNumber($this->_getParam('page')); $paginator->setCurrentPageNumber($this->_getParam('page'));
$paginator->setItemCountPerPage($this->view->config->page->max); $paginator->setItemCountPerPage($this->view->config->page->max);