优化RIS输出

This commit is contained in:
wlx 2013-11-04 13:27:32 +00:00
parent 3325569970
commit 3cd2e16766
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} where length(ris)<10 ORDER BY year DESC,title ASC,id ASC";
$sql = "SELECT * FROM {$this->table->reference} where length(ris)<10 or ris is null ORDER BY year DESC,title ASC,id ASC";
$rs = $this->db->query($sql);
return $rs->fetchAll();
}