K8s: Dashboards: Fix history list (#100763)

This commit is contained in:
Stephanie Hingtgen 2025-02-14 13:12:18 -07:00 committed by GitHub
parent 77fd572973
commit b89fd287c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,