优化RIS输出
This commit is contained in:
parent
3325569970
commit
3cd2e16766
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue