mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
remote_activity: Hide deactivated remote servers.
This commit is contained in:
committed by
Tim Abbott
parent
0d08fe90a8
commit
19575b46f7
@@ -69,6 +69,7 @@ def get_remote_server_activity(request: HttpRequest) -> HttpResponse:
|
|||||||
left join icount on icount.server_id = rserver.id
|
left join icount on icount.server_id = rserver.id
|
||||||
left join mobile_push_forwarded_count on mobile_push_forwarded_count.server_id = rserver.id
|
left join mobile_push_forwarded_count on mobile_push_forwarded_count.server_id = rserver.id
|
||||||
left join remote_push_devices on remote_push_devices.server_id = rserver.id
|
left join remote_push_devices on remote_push_devices.server_id = rserver.id
|
||||||
|
where not deactivated
|
||||||
order by latest_value DESC NULLS LAST, push_user_count DESC NULLS LAST
|
order by latest_value DESC NULLS LAST, push_user_count DESC NULLS LAST
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user