Unistore: Fix federated stats (#108738)

This commit is contained in:
Stephanie Hingtgen
2025-07-29 10:42:20 +02:00
committed by GitHub
parent 6af1bfe21b
commit 38cdcb5efd
2 changed files with 32 additions and 17 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func (s *LegacyStatsGetter) GetStats(ctx context.Context, in *resourcepb.Resourc
}
// Legacy dashboard table
err = fn("dashboard", "org_id=? AND folder_uid=?", group, "dashboards", true)
err = fn("dashboard", "org_id=? AND folder_uid=? AND is_folder=false", group, "dashboards", true)
if err != nil {
return err
}