fix #581, 解决未发布的英文元数据显示到doi列表中的问题

This commit is contained in:
wlx 2014-05-08 02:27:37 +00:00
parent 42e2e8b671
commit 758a254ec9
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class IndexController extends Zend_Controller_Action
$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);
$this->view->dois = $sth->fetchAll();