Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
remote_activity: Hide deactivated remote servers.
Alex Vandiver19575b46f7c8
diff --git a/analytics/views/remote_activity.py b/analytics/views/remote_activity.pyindex 36d9af8a3d7..a066b070650 100644--- a/analytics/views/remote_activity.py+++ b/analytics/views/remote_activity.py@@ -69,6 +69,7 @@ def get_remote_server_activity(request: HttpRequest) -> HttpResponse:left join icount on icount.server_id = rserver.idleft join mobile_push_forwarded_count on mobile_push_forwarded_count.server_id = rserver.idleft join remote_push_devices on remote_push_devices.server_id = rserver.id+ where not deactivatedorder by latest_value DESC NULLS LAST, push_user_count DESC NULLS LAST""")