From 84af1afe86a7ee77f4e180e7745147ac82b62565 Mon Sep 17 00:00:00 2001 From: well Date: Mon, 30 Sep 2024 09:43:35 +0800 Subject: [PATCH] hide dismissed --- api/chats/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/chats/views.py b/api/chats/views.py index d6772cd5ba..fc8c5ed00b 100644 --- a/api/chats/views.py +++ b/api/chats/views.py @@ -38,6 +38,7 @@ def get_users_for_hospital(request): doctorprofiles: List[DoctorProfile] = hospital.doctorprofile_set.filter( hospital=hospital, user__is_active=True, + dismissed=False, ).select_related("podrazdeleniye", "position", "specialities") departments = {}