From 7cd79ea1833a1c29cab4a05d0507ca94dadc0623 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 2 Dec 2020 09:39:57 +0000
Subject: [PATCH] erp5_test_result: add compatibility with xhtml_style

See https://lab.nexedi.com/nexedi/erp5/commit/ee81e26e0abc28bb2f91d4f18fd67cb74243321d#note_121758
---
 .../erp5_test_result/Base_jumpToObjectWithIdenticalTitle.py      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/Base_jumpToObjectWithIdenticalTitle.py b/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/Base_jumpToObjectWithIdenticalTitle.py
index c24bbe5f8d..a5fbbc5510 100644
--- a/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/Base_jumpToObjectWithIdenticalTitle.py
+++ b/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/Base_jumpToObjectWithIdenticalTitle.py
@@ -36,6 +36,7 @@ else:
       raise NotImplementedError('Can only search in module, not %s' % portal_type)
     redirect_context = portal.getDefaultModule(portal_type)
     query_params['title'] = context.getTitle()
+    query_params['reset'] = True
 
 query_params['portal_status_message'] = message
 
-- 
2.30.9