From c7c89a6250a7d4852bedf0cd150413a89e455a5f Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 11 Mar 2015 12:05:20 +0000 Subject: [PATCH] Fixed a small issue with the filter expression to select ADs for active groups. - Legacy-Id: 9181 --- 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 95c6c3099..a77b36570 100644 --- a/ietf/community/rules.py +++ b/ietf/community/rules.py @@ -67,7 +67,7 @@ class AdResponsibleRule(RuleManager): return Document.objects.filter(type='draft', states__slug='active').filter(ad=self.value).distinct() def options(self): - return [(i.pk, i.name) for i in Person.objects.filter(role__name='ad',group__state='active').distinct().order_by('name')] + return [(i.pk, i.name) for i in Person.objects.filter(role__name='ad',role__group__state='active').distinct().order_by('name')] def show_value(self): try: