Commit de1d89c5 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Klaus Wölfel

erp5_dms: fix search result not shown

parent b6d64daf
...@@ -21,7 +21,7 @@ if searchabletext is None: ...@@ -21,7 +21,7 @@ if searchabletext is None:
if searchabletext is None: if searchabletext is None:
# or in selection # or in selection
selection_id = 'search_advanced_dialog_selection' selection_id = 'search_selection'
selection_object = portal.portal_selections.getSelectionParamsFor(selection_id) selection_object = portal.portal_selections.getSelectionParamsFor(selection_id)
if selection_object: if selection_object:
searchabletext = selection_object.get('searchabletext') searchabletext = selection_object.get('searchabletext')
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
portal = context.getPortalObject() portal = context.getPortalObject()
searchabletext = context.Base_assembleSearchString() searchabletext = context.Base_assembleSearchString()
selection_id = 'search_advanced_dialog_selection' selection_id = 'search_selection'
selection_object = portal.portal_selections.getSelectionParamsFor(selection_id, {}) selection_object = portal.portal_selections.getSelectionParamsFor(selection_id, {})
if selection_object: if selection_object:
# update # update
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
<string>list_method</string> <string>list_method</string>
<string>search_columns</string> <string>search_columns</string>
<string>select</string> <string>select</string>
<string>selection_name</string>
<string>sort_columns</string> <string>sort_columns</string>
<string>title</string> <string>title</string>
</list> </list>
...@@ -201,10 +200,6 @@ ...@@ -201,10 +200,6 @@
<key> <string>select</string> </key> <key> <string>select</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>search_advanced_dialog_selection</string> </value>
</item>
<item> <item>
<key> <string>sort_columns</string> </key> <key> <string>sort_columns</string> </key>
<value> <value>
...@@ -236,10 +231,7 @@ ...@@ -236,10 +231,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="Method" module="Products.Formulator.MethodField"/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
......
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