添加tag列表页面的浏览次数统计

This commit is contained in:
Li Jianxuan 2014-03-17 04:10:49 +00:00
parent 486f9801c8
commit c1c126ffb5
1 changed files with 2 additions and 1 deletions

View File

@ -96,9 +96,10 @@ class Tags
}
$sql = "SELECT
m.*
m.*,md.viewed
FROM {$this->table->metadata} m
LEFT join keyword k on m.id=k.id
LEFT join {$this->table->metadata_stat} md on m.uuid=md.uuid
$wheresql
ORDER BY $order {$this->opt->sort}";