From 3ade3e443f5cf764a1f4b221f59137ab1f3655a4 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 4 Jul 2012 14:10:55 +0000 Subject: [PATCH] Sort WGs in the community rules drop-down list by acronym rather than WG name. - Legacy-Id: 4586 --- ietf/community/rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/community/rules.py b/ietf/community/rules.py index 68218e99d..b1b8f903f 100644 --- a/ietf/community/rules.py +++ b/ietf/community/rules.py @@ -34,7 +34,7 @@ class WgAsociatedRule(RuleManager): return Document.objects.filter(type='draft', states__slug='active').filter(group__acronym=self.value).distinct() def options(self): - return [(i.acronym, "%s — %s"%(i.acronym, i.name)) for i in Group.objects.filter(type='wg', state='active').distinct().order_by('name')] + return [(i.acronym, "%s — %s"%(i.acronym, i.name)) for i in Group.objects.filter(type='wg', state='active').distinct().order_by('acronym')] def show_value(self): try: