From 2259e304ed7f36c833415b47f6930331b9671c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Ninivin?= <cedric.leninivin@tiolive.com> Date: Tue, 18 Jul 2017 09:44:57 +0000 Subject: [PATCH] erp5_hal_json_style: Add support to object_search_jio in getHateoas --- .../portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py b/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py index af23a179e4..ff8a72b9f3 100644 --- a/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py +++ b/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py @@ -796,7 +796,7 @@ def calculateHateoas(is_portal=None, is_site_root=None, traversed_document=None, if (view == view_action['id']): embedded_url = '%s' % view_action['url'] - if erp5_action_key in (view_action_type, "view", "workflow", "object_new_content_action", "object_clone_action", "object_delete_action", "object_report_jio", "object_exchange_jio", "object_fast_input_jio"): + if erp5_action_key in (view_action_type, "view", "workflow", "object_new_content_action", "object_clone_action", "object_delete_action", "object_report_jio", "object_search_jio"): erp5_action_list[-1]['href'] = url_template_dict["traverse_generator"] % { "root_url": site_root.absolute_url(), -- 2.30.9