X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9f46cd8bd84b9d2cd3febd80b3906260314de43f..a980dc9ed36f367a04dfdc56e277375d9cca1bd1:/apps/catalogue/forms.py?ds=sidebyside diff --git a/apps/catalogue/forms.py b/apps/catalogue/forms.py index 4e5b2cb4..f70dc472 100644 --- a/apps/catalogue/forms.py +++ b/apps/catalogue/forms.py @@ -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: