不显示纯英文数据的doi
This commit is contained in:
parent
1395d64c5c
commit
fb7a73ad8e
|
@ -85,7 +85,7 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
$this->view->list_news = $rows;
|
||||
|
||||
$sql="select d.*,m.ts_published as publish_year from datadoi d left join 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 left join metadata m on d.uuid=m.uuid where length(d.title)>1 and d.ts_published is not null order by ts_published desc limit 4";
|
||||
$sth = $this->db->query($sql);
|
||||
$this->view->dois = $sth->fetchAll();
|
||||
|
||||
|
|
Loading…
Reference in New Issue