增加可视化数据的排序方式
This commit is contained in:
parent
295728d7ff
commit
efc508c58c
|
@ -115,7 +115,8 @@ class Visual
|
|||
{
|
||||
$sql = "SELECT * FROM {$this->metadataTable} md
|
||||
LEFT JOIN {$this->mainTable} v ON v.uuid = md.uuid
|
||||
WHERE v.uuid IS NOT NULL";
|
||||
WHERE v.uuid IS NOT NULL
|
||||
order by v.ts_changed desc";
|
||||
|
||||
$rs = $this->db->query($sql);
|
||||
return $rs->fetchAll(\PDO::FETCH_ASSOC);
|
||||
|
|
Loading…
Reference in New Issue