Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
support: Filter remote realm data query for customer realm None.
Lauryn Menard89545891f6fa
diff --git a/corporate/lib/analytics.py b/corporate/lib/analytics.pyindex 16fa6feecfd..d2e2d40e527 100644--- a/corporate/lib/analytics.py+++ b/corporate/lib/analytics.py@@ -56,7 +56,7 @@ def estimate_annual_recurring_revenue_by_realm() -> Dict[str, int]: # nocoveragdef get_plan_data_by_remote_server() -> Dict[int, RemoteActivityPlanData]: # nocoverageremote_server_plan_data: Dict[int, RemoteActivityPlanData] = {}for plan in CustomerPlan.objects.filter(- status__lt=CustomerPlan.LIVE_STATUS_THRESHOLD+ status__lt=CustomerPlan.LIVE_STATUS_THRESHOLD, customer__realm__isnull=True).select_related("customer__remote_server", "customer__remote_realm"):renewal_cents = 0server_id = None