Commit 67d4904f authored by Julien Cristau's avatar Julien Cristau
Browse files

[views] fix AddPersonFromEmailAction (closes #3851154)

LinkToEntityAction expects target_etype to be set, not etype.
parent 2401810fe229
......@@ -118,7 +118,7 @@ class AddPersonFromEmailAction(action.LinkToEntityAction):
& score_entity(lambda x: not x.reverse_use_email))
title = _('add Person use_email EmailAddress object')
etype = 'Person'
target_etype = 'Person'
rtype = 'use_email'
target = 'subject'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment