Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

activity: Always include realms on standard plan.

Vishnu KS49d06b9d69bb
diff --git a/analytics/views.py b/analytics/views.py
index 9eb2fd8e008..e2b04db6303 100644
--- a/analytics/views.py
+++ b/analytics/views.py
@@ -589,7 +589,10 @@ def realm_summary_table(realm_minutes: Dict[str, float]) -> str:
GROUP BY realm_id
) wau_counts
ON wau_counts.realm_id = realm.id
- WHERE EXISTS (
+ WHERE
+ realm.plan_type = 3
+ OR
+ EXISTS (
SELECT *
FROM zerver_useractivity ua
JOIN zerver_userprofile up