Skip to content

Commit 3ade3e4

Browse files
committed
Sort WGs in the community rules drop-down list by acronym rather than WG name.
- Legacy-Id: 4586
1 parent e61e4f0 commit 3ade3e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/community/rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_documents(self):
3434
return Document.objects.filter(type='draft', states__slug='active').filter(group__acronym=self.value).distinct()
3535

3636
def options(self):
37-
return [(i.acronym, "%s — %s"%(i.acronym, i.name)) for i in Group.objects.filter(type='wg', state='active').distinct().order_by('name')]
37+
return [(i.acronym, "%s — %s"%(i.acronym, i.name)) for i in Group.objects.filter(type='wg', state='active').distinct().order_by('acronym')]
3838

3939
def show_value(self):
4040
try:

0 commit comments

Comments
 (0)