fix #581, 解决未发布的英文元数据显示到doi列表中的问题
This commit is contained in:
parent
42e2e8b671
commit
758a254ec9
|
@ -74,7 +74,7 @@ class IndexController extends Zend_Controller_Action
|
||||||
|
|
||||||
$this->view->list_news = $rows;
|
$this->view->list_news = $rows;
|
||||||
|
|
||||||
$sql="select d.*,m.ts_published as publish_year from datadoi d right join en.metadata m on d.uuid=m.uuid where d.ts_published is not null order by ts_published desc limit 4";
|
$sql="select d.*,m.ts_published as publish_year from datadoi d right join en.normalmetadata m on d.uuid=m.uuid where d.ts_published is not null order by ts_published desc limit 4";
|
||||||
$sth = $this->db->query($sql);
|
$sth = $this->db->query($sql);
|
||||||
$this->view->dois = $sth->fetchAll();
|
$this->view->dois = $sth->fetchAll();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue