Commit 5069e4ea by Carl Bergquist Committed by GitHub

Merge pull request #11681 from Jonnymcc/sort-dashboard-tags

Sort results from GetDashboardTags
parents 35a24032 06901263
...@@ -295,7 +295,8 @@ func GetDashboardTags(query *m.GetDashboardTagsQuery) error { ...@@ -295,7 +295,8 @@ func GetDashboardTags(query *m.GetDashboardTagsQuery) error {
FROM dashboard FROM dashboard
INNER JOIN dashboard_tag on dashboard_tag.dashboard_id = dashboard.id INNER JOIN dashboard_tag on dashboard_tag.dashboard_id = dashboard.id
WHERE dashboard.org_id=? WHERE dashboard.org_id=?
GROUP BY term` GROUP BY term
ORDER BY term`
query.Result = make([]*m.DashboardTagCloudItem, 0) query.Result = make([]*m.DashboardTagCloudItem, 0)
sess := x.Sql(sql, query.OrgId) 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