Commit 5c93a99b authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[ui] When rtype is not ending by _from, this is not an intermediary entity, use reledit.text view

parent c5e9b32df772
......@@ -57,7 +57,7 @@ def rtags_from_rtype_role_targets(etype, rtype_role_targets):
{'rvid': 'seda.reledit.simplelink'})
relation = ('*', rtype, etype, role)
if target in BASE_TYPES:
if target in BASE_TYPES or not rtype.endswith('_from'):
vid = 'seda.reledit.text'
vid = 'seda.reledit.complexlink'
Markdown is supported
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