实现建议参考文献的排序显示
This commit is contained in:
parent
7f44514baf
commit
2bbd5013ad
|
@ -593,7 +593,7 @@ class DataController extends Zend_Controller_Action
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->resources=$this->db->fetchAll($sql);
|
$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);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->ref=$this->db->fetchAll($sql);
|
$this->view->ref=$this->db->fetchAll($sql);
|
||||||
//用户发表文献
|
//用户发表文献
|
||||||
|
|
Loading…
Reference in New Issue