summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views.py b/packages/views.py
index 22ff5d32..d696b7eb 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -107,7 +107,7 @@ class PackageSearchForm(forms.Form):
self.fields['maintainer'].choices = self.fields[
'maintainer'].widget.choices = [
('', 'All'), ('orphan', 'Orphan')] + make_choice(
- [m.username for m in User.objects.all()])
+ [m.username for m in User.objects.order_by('username')])
def search(request, page=None):
current_query = '?'