Skip to content

Commit 25210ac

Browse files
committed
The call to liaison_manager_sdos() in set_organization_field was missing a Person parameter -- add it.
- Legacy-Id: 4739
1 parent b6e7656 commit 25210ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/liaisons/formsREDESIGN.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def set_replyto_field(self):
379379
def set_organization_field(self):
380380
# If the user is a liaison manager and is nothing more, reduce the To field to his SDOs
381381
if not self.hm.get_entities_for_person(self.person) and is_sdo_liaison_manager(self.person):
382-
self.fields['organization'].choices = [('sdo_%s' % i.pk, i.name) for i in liaison_manager_sdos()]
382+
self.fields['organization'].choices = [('sdo_%s' % i.pk, i.name) for i in liaison_manager_sdos(self.person)]
383383
else:
384384
self.fields['organization'].choices = self.hm.get_all_outgoing_entities()
385385
self.fieldsets[1] = ('To', ('organization', 'other_organization', 'to_poc'))

0 commit comments

Comments
 (0)