修复成果展示中的错误
This commit is contained in:
parent
35c0883355
commit
5ae05fb85d
|
@ -86,7 +86,7 @@ class AboutController extends Zend_Controller_Action
|
|||
$siteid="e31f5ea7-a4af-4ae3-9ac1-1a84132c4338";//site uuid from geonetowrk
|
||||
if(empty($ac))
|
||||
{
|
||||
$sql="select * from mdref mr left join reference r on mr.refid=r.id where mr.uuid=? order by r.id desc";
|
||||
$sql="select * from mdref mr left join reference r on mr.refid=r.id where mr.uuid=? and mr.reftype=0 order by r.year desc,r.title asc";
|
||||
$sth = $this->db->prepare($sql);
|
||||
$sth->execute(array($siteid));
|
||||
$rows = $sth->fetchAll();
|
||||
|
|
Loading…
Reference in New Issue