diff --git a/osler/workup/forms.py b/osler/workup/forms.py index 0444ef94..1dfeac7a 100644 --- a/osler/workup/forms.py +++ b/osler/workup/forms.py @@ -155,7 +155,9 @@ class Meta(object): attending = ModelChoiceField( required=False, queryset=get_user_model().objects.filter( - groups__permissions__codename=can_sign_perm_codename) + groups__in=Group.objects.filter( + permissions__codename=can_sign_perm_codename) + ).distinct() ) other_volunteer = ModelMultipleChoiceField(