Commit 37051da9 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_hal_json_style] Do not handle action using Base_jumpToRelatedObjectList

parent d914143b
......@@ -740,7 +740,7 @@ def calculateHateoas(is_portal=None, is_site_root=None, traversed_document=None,
}
if erp5_action_key == 'object_jump':
if 'Base_jumpToRelatedObject' in view_action['url']:
if 'Base_jumpToRelatedObject?' in view_action['url']:
# Fetch the URL arguments
argument_dict = dict([x.split('=') for x in view_action['url'].split('?', 1)[1].split("&")])
final_argument_dict = {'portal_type': argument_dict.pop('portal_type', None)}
......
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