Skip to content

Commit 2bbe307

Browse files
committed
Fix annoying duplicate entry bug in the from list for a Secretariat person
- Legacy-Id: 3351
1 parent b9e1753 commit 2bbe307

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/liaisons/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def get_info(request):
8080
'needs_approval': from_entity.needs_approval(person=person),
8181
'post_only': from_entity.post_only(person=person, user=request.user)})
8282
if is_secretariat(request.user):
83-
full_list = [(i.pk, i.email()) for i in from_entity.full_user_list()]
83+
full_list = [(i.pk, i.email()) for i in set(from_entity.full_user_list())]
8484
full_list.sort(lambda x,y: cmp(x[1], y[1]))
8585
full_list = [(person.pk, person.email())] + full_list
8686
result.update({'full_list': full_list})

0 commit comments

Comments
 (0)