Dashboards: Set limit to default if negative; document functionality (#112659)
This commit is contained in:
committed by
GitHub
parent
27ac08dd51
commit
5d82502535
@@ -129,7 +129,7 @@ func (s *Service) List(
|
||||
query.DashboardUID = u
|
||||
}
|
||||
|
||||
if query.Limit == 0 {
|
||||
if query.Limit <= 0 {
|
||||
query.Limit = 1000
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user