sort by name is assign form
[redakcja.git] / apps / catalogue / forms.py
index 4e5b2cb..f70dc47 100644 (file)
@@ -72,7 +72,7 @@ class ChunkForm(forms.ModelForm):
     """
     user = forms.ModelChoiceField(queryset=
         User.objects.annotate(count=Count('chunk')).
-        order_by('-count', 'last_name', 'first_name'), required=False,
+        order_by('last_name', 'first_name'), required=False,
         label=_('Assigned to')) 
 
     class Meta: