更新可视化数据排序方式以及修正首页链接
This commit is contained in:
parent
33229f30a9
commit
b4e46a232f
|
@ -99,7 +99,6 @@ $this->headTitle()->setSeparator(' - ');
|
|||
<li>- <a href="/data/offlineapp">离线数据服务记录(最近20个)</a></li>
|
||||
<li>- <a href="/data/request">如何从数据中心申请数据</a></li>
|
||||
<li>- <a href="/data/submit">如何在数据中心发布数据</a></li>
|
||||
<li>- <a href="/visual">数据可视化</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -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