From e0252ffa4cbe30f447ee843df89c67b755e1f615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 20 Nov 2011 17:48:16 +0100 Subject: [PATCH] sort authors --- tabellio/searchform/form.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tabellio/searchform/form.py b/tabellio/searchform/form.py index 031d744..581abb0 100644 --- a/tabellio/searchform/form.py +++ b/tabellio/searchform/form.py @@ -74,6 +74,7 @@ class ListAuthorsView(BrowserView): continue if q in object.id or q in object.Title().lower(): s.append(object) + s.sort() return '\n'.join(['%s|%s' % (x.Title(), x.id) for x in s]) class ListPolgroupsView(BrowserView):