Dashboards: Set limit to default if negative; document functionality (#112659)

This commit is contained in:
Stephanie Hingtgen
2025-10-21 10:06:02 -06:00
committed by GitHub
parent 27ac08dd51
commit 5d82502535
4 changed files with 4 additions and 4 deletions
@@ -129,7 +129,7 @@ func (s *Service) List(
query.DashboardUID = u
}
if query.Limit == 0 {
if query.Limit <= 0 {
query.Limit = 1000
}