Skip to content

Commit

Permalink
Merge pull request #4315 from mikhailprivalov/hide-dismiss-in-chat
Browse files Browse the repository at this point in the history
Чат - без уволенных
  • Loading branch information
urchinpro authored Oct 1, 2024
2 parents 0e7e4d5 + 10ff71f commit d1b473e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/chats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit d1b473e

Please sign in to comment.