admin: use field ids as keys when listing them for attribute mapping (#7263)

This commit is contained in:
Frédéric Péters 2015-05-18 09:27:29 +02:00
parent e467996184
commit bf1c8daf4a
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ class AdminIDPDir(Directory):
user_class = get_publisher().user_class
options = []
for field in user_class.get_formdef().fields:
options.append((str(field.id), field.label))
options.append((str(field.id), field.label, str(field.id)))
return options
@classmethod