实现建议参考文献的排序显示

This commit is contained in:
wlx 2013-05-08 03:35:00 +00:00
parent 7f44514baf
commit 2bbd5013ad
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ class DataController extends Zend_Controller_Action
$sql=$this->db->quoteInto($sql,$uuid);
$this->view->resources=$this->db->fetchAll($sql);
//建议参考文献
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=0";
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=0 order by m.place";
$sql=$this->db->quoteInto($sql,$uuid);
$this->view->ref=$this->db->fetchAll($sql);
//用户发表文献