不输出已经有RIS内容的文献

This commit is contained in:
wlx 2013-11-04 13:26:00 +00:00
parent 838afc1d5d
commit 3325569970
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class RisOutput
{
if($mode == "all")
{
$sql = "SELECT * FROM {$this->table->reference} ORDER BY year DESC,title ASC,id ASC";
$sql = "SELECT * FROM {$this->table->reference} where length(ris)<10 ORDER BY year DESC,title ASC,id ASC";
$rs = $this->db->query($sql);
return $rs->fetchAll();
}