Public dashboards: return full list when more than 1000 (#99216)
This commit is contained in:
@@ -375,7 +375,7 @@ func (pd *PublicDashboardServiceImpl) FindAllWithPagination(ctx context.Context,
|
||||
dashUIDs[i] = pubdash.DashboardUid
|
||||
}
|
||||
|
||||
dashboardsFound, err := pd.dashboardService.FindDashboards(ctx, &dashboards.FindPersistedDashboardsQuery{OrgId: query.OrgID, DashboardUIDs: dashUIDs, SignedInUser: query.User})
|
||||
dashboardsFound, err := pd.dashboardService.FindDashboards(ctx, &dashboards.FindPersistedDashboardsQuery{OrgId: query.OrgID, DashboardUIDs: dashUIDs, SignedInUser: query.User, Limit: int64(len(dashUIDs))})
|
||||
if err != nil {
|
||||
return nil, ErrInternalServerError.Errorf("FindAllWithPagination: GetDashboards: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user