Skip to content

Commit

Permalink
Merge pull request arachnys#327 from cmclaughlin/master
Browse files Browse the repository at this point in the history
Sort users_to_notify
  • Loading branch information
dbuxton committed Mar 29, 2016
2 parents 7344efa + 1e9c75b commit 61dc679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cabot/cabotapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class Meta:
def __init__(self, *args, **kwargs):
ret = super(InstanceForm, self).__init__(*args, **kwargs)
self.fields['users_to_notify'].queryset = User.objects.filter(
is_active=True)
is_active=True).order_by('first_name', 'last_name')
return ret


Expand Down Expand Up @@ -334,7 +334,7 @@ class Meta:
def __init__(self, *args, **kwargs):
ret = super(ServiceForm, self).__init__(*args, **kwargs)
self.fields['users_to_notify'].queryset = User.objects.filter(
is_active=True)
is_active=True).order_by('first_name', 'last_name')
return ret

def clean_hackpad_id(self):
Expand Down

0 comments on commit 61dc679

Please sign in to comment.