From 6714cff0d52715d3f9fc029f711de8994ca0356f Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 5 Apr 2013 22:04:59 +0200 Subject: [PATCH] use asRawText() result in SearchableText for Notification Message, Query and Web Page. --- .../portal_types/Notification%20Message.xml | 8 ++++++++ .../PortalTypeTemplateItem/portal_types/Query.xml | 8 ++++++++ bt5/erp5_base/bt/revision | 2 +- .../PortalTypeTemplateItem/portal_types/Web%20Page.xml | 2 +- bt5/erp5_web/bt/revision | 2 +- 5 files changed, 19 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Notification%20Message.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Notification%20Message.xml index 5814539fdd..6f091e9e18 100644 --- a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Notification%20Message.xml +++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Notification%20Message.xml @@ -48,6 +48,14 @@ <key> <string>permission</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>searchable_text_method_id</string> </key> + <value> + <tuple> + <string>asRawText</string> + </tuple> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query.xml index b552ea87ff..4eef0ae5a6 100644 --- a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query.xml +++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query.xml @@ -67,6 +67,14 @@ <key> <string>permission</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>searchable_text_method_id</string> </key> + <value> + <tuple> + <string>asRawText</string> + </tuple> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index 86509c9f05..a89dec1731 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -1033 \ No newline at end of file +1034 \ No newline at end of file diff --git a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml index bf9826f858..d513baddd4 100644 --- a/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml +++ b/bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Page.xml @@ -78,7 +78,7 @@ <key> <string>searchable_text_method_id</string> </key> <value> <tuple> - <string>asText</string> + <string>asRawText</string> </tuple> </value> </item> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 8b37c8cfe6..dfc8356d74 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -1097 \ No newline at end of file +1098 \ No newline at end of file -- 2.30.9