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