Commit 06901263 by Jonathan McCall

Sort results from GetDashboardTags

parent e168bfe0
......@@ -294,7 +294,8 @@ func GetDashboardTags(query *m.GetDashboardTagsQuery) error {
FROM dashboard
INNER JOIN dashboard_tag on dashboard_tag.dashboard_id = dashboard.id
WHERE dashboard.org_id=?
GROUP BY term`
GROUP BY term
ORDER BY term`
query.Result = make([]*m.DashboardTagCloudItem, 0)
sess := x.Sql(sql, query.OrgId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment