mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed dashboard_tag query
This commit is contained in:
@@ -71,7 +71,7 @@ func GetAdminStats(query *m.GetAdminStatsQuery) error {
|
|||||||
FROM ` + dialect.Quote("dashboard_snapshot") + `
|
FROM ` + dialect.Quote("dashboard_snapshot") + `
|
||||||
) AS db_snapshot_count,
|
) AS db_snapshot_count,
|
||||||
(
|
(
|
||||||
SELECT COUNT(*)
|
SELECT COUNT( DISTINCT ( ` + dialect.Quote("term") + ` ))
|
||||||
FROM ` + dialect.Quote("dashboard_tag") + `
|
FROM ` + dialect.Quote("dashboard_tag") + `
|
||||||
) AS db_tag_count,
|
) AS db_tag_count,
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user