From a187627adc55cb599e0820ab218a627453458f5a Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Fri, 10 Dec 2021 09:39:54 +0000
Subject: [PATCH] erp5_discussion: XXX accessing all subcontent does not scale
 in case of huge discussion

---
 .../portal_types/Discussion%20Thread.xml                      | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml b/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml
index 10bf81a679..ca6a16b529 100644
--- a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml
+++ b/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml
@@ -86,9 +86,7 @@
         <item>
             <key> <string>searchable_text_method_id</string> </key>
             <value>
-              <tuple>
-                <string>DiscussionThread_getChildDiscussionPostRawText</string>
-              </tuple>
+              <tuple/>
             </value>
         </item>
         <item>
-- 
2.30.9