Commit 9cbef0f8 authored by Ivan Tyagov's avatar Ivan Tyagov

Use full_text scriptable key.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42741 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 38e7f631
...@@ -58,7 +58,7 @@ request = context.REQUEST\n ...@@ -58,7 +58,7 @@ request = context.REQUEST\n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
searchable_text = context.Base_assembleSearchString()\n searchable_text = context.Base_assembleSearchString()\n
kw[\'list_style\'] = \'search\'\n kw[\'list_style\'] = \'search\'\n
kw[\'SearchableText\'] = searchable_text\n kw[\'full_text\'] = searchable_text\n
kw[\'language\'] = \'\'\n kw[\'language\'] = \'\'\n
kw[\'reset\'] = 1\n kw[\'reset\'] = 1\n
return context.Base_redirect(\'WebSite_viewAdvancedSearchResultList\', keep_items=kw)\n return context.Base_redirect(\'WebSite_viewAdvancedSearchResultList\', keep_items=kw)\n
......
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
</item> </item>
<item> <item>
<key> <string>global_search_column</string> </key> <key> <string>global_search_column</string> </key>
<value> <string>SearchableText</string> </value> <value> <string>full_text</string> </value>
</item> </item>
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
......
1742 1743
\ No newline at end of file \ No newline at end of file
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>kw = {\'reset\':1,\n <value> <string>kw = {\'reset\':1,\n
\'SearchableText\':field_your_search_text,\n \'full_text\':field_your_search_text,\n
\'your_search_text\':field_your_search_text,\n \'your_search_text\':field_your_search_text,\n
\'all_languages\':all_languages,\n \'all_languages\':all_languages,\n
\'ignore_hide_rows\': 1,\n \'ignore_hide_rows\': 1,\n
......
40856 40857
\ No newline at end of file \ No newline at end of file
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