Commit 413f907c authored by Ivan Tyagov's avatar Ivan Tyagov

global_search_column_script is redundant as proper way is let default search /...

global_search_column_script is redundant as proper way is let default search / count catalog method handle it using scriptable keys.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38321 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent df796ea4
......@@ -422,13 +422,6 @@ class ListBoxWidget(Widget.Widget):
required=0)
property_names.append('global_search_column')
global_search_column_script = fields.StringField('global_search_column_script',
title="Global search column script",
description=("Global search column script used to make query."),
default=None,
required=0)
property_names.append('global_search_column_script')
page_navigation_mode = fields.StringField('page_navigation_mode',
title="Page navigation mode",
description=("Page navigation mode like 'slider' - controls for 'next' / 'last' & 'previous' / 'first' or 'text' - direct page selections."),
......@@ -992,12 +985,6 @@ class ListBoxRenderer:
getGlobalSearchColumn = lazyMethod(getGlobalSearchColumn)
def getGlobalSearchColumnScript(self):
"""Return the full text search key script which is responsible for handling full text query."""
return self.field.get_value('global_search_column_script')
getGlobalSearchColumnScript = lazyMethod(getGlobalSearchColumnScript)
def getPageNavigationMode(self):
"""Return the list box page navigation mode."""
return self.field.get_value('page_navigation_mode')
......
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