[Erp5-report] r38321 ivan - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 14 08:03:45 CEST 2010
Author: ivan
Date: Tue Sep 14 08:03:44 2010
New Revision: 38321
URL: http://svn.erp5.org?rev=38321&view=rev
Log:
global_search_column_script is redundant as proper way is let default search / count catalog method handle it using scriptable keys.
Modified:
erp5/trunk/products/ERP5Form/ListBox.py
Modified: erp5/trunk/products/ERP5Form/ListBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ListBox.py?rev=38321&r1=38320&r2=38321&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py [utf8] Tue Sep 14 08:03:44 2010
@@ -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')
More information about the Erp5-report
mailing list