修改默认排序方式
This commit is contained in:
parent
ef199cb5dc
commit
061e38d26a
|
@ -21,7 +21,7 @@ class Doi extends Zend_Controller_Plugin_Abstract
|
|||
$sql = "SELECT doi.* FROM ".$this->tbl_doi." doi
|
||||
LEFT JOIN mdauthor a ON doi.uuid=a.uuid
|
||||
WHERE a.userid=".$uid." AND a.status>0
|
||||
ORDER BY id DESC
|
||||
ORDER BY ts_published desc,ts_submitted desc,ts_created DESC
|
||||
";
|
||||
}
|
||||
$rs = $this->db->query($sql);
|
||||
|
|
Loading…
Reference in New Issue