Skip to content

Commit fcd8f55

Browse files
committed
Added person.plain_name() to the name aliases.
- Legacy-Id: 11297
1 parent 087c543 commit fcd8f55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/ietfauth/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def profile(request):
224224

225225
# Make sure the alias table contains any new and/or old names.
226226
existing_aliases = set(Alias.objects.filter(person=person).values_list("name", flat=True))
227-
curr_names = set(x for x in [updated_person.name, updated_person.ascii, updated_person.ascii_short] if x)
227+
curr_names = set(x for x in [updated_person.name, updated_person.ascii, updated_person.ascii_short, updated_person.plain_name(), ] if x)
228228
new_aliases = curr_names - existing_aliases
229229
for name in new_aliases:
230230
Alias.objects.create(person=updated_person, name=name)

0 commit comments

Comments
 (0)