mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:22:29 +08:00
K8s: Dashboards: Fix history list (#100763)
This commit is contained in:

committed by
GitHub

parent
77fd572973
commit
b89fd287c7
@ -30,7 +30,7 @@ WHERE dashboard.is_folder = {{ .Arg .Query.GetFolders }}
|
||||
{{ if .Query.Version }}
|
||||
AND dashboard_version.version = {{ .Arg .Query.Version }}
|
||||
{{ else if .Query.LastID }}
|
||||
AND dashboard_version.version <= {{ .Arg .Query.LastID }}
|
||||
AND dashboard_version.version < {{ .Arg .Query.LastID }}
|
||||
{{ end }}
|
||||
ORDER BY
|
||||
dashboard_version.created DESC,
|
||||
|
Reference in New Issue
Block a user