X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9f46cd8bd84b9d2cd3febd80b3906260314de43f..59f6e6616b1b01350f1eaa97ed026e8a8524da1f:/apps/catalogue/forms.py 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: