Commit ed6d88a3 authored by Sebastien Robin's avatar Sebastien Robin

do not use getSelectionValueList until it will be improved


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@584 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7834de25
......@@ -624,8 +624,8 @@ class ListBoxWidget(Widget.Widget):
kw['query'] = s[0].asSqlExpression(strict_membership=1)
report_query += kw['query']
selection.edit( params = kw )
#object_list = selection(selection_method = list_method, context=here, REQUEST=REQUEST)
object_list = here.portal_selections.getSelectionValueList(selection_name, context=here, REQUEST=REQUEST)
object_list = selection(selection_method = list_method, context=here, REQUEST=REQUEST)
#object_list = here.portal_selections.getSelectionValueList(selection_name, context=here, REQUEST=REQUEST)
# PERFORMANCE
report_sections += [ (None, 0, s[2], object_list, len(object_list), s[3]) ]
if original_query is not None:
......@@ -636,8 +636,8 @@ class ListBoxWidget(Widget.Widget):
else:
selection.edit( params = kw )
#LOG('ListBox 612', 0, str((selection_name, selection.__dict__)))
#object_list = selection(selection_method = list_method, context=here, REQUEST=REQUEST)
object_list = here.portal_selections.getSelectionValueList(selection_name, context=here, REQUEST=REQUEST)
object_list = selection(selection_method = list_method, context=here, REQUEST=REQUEST)
#object_list = here.portal_selections.getSelectionValueList(selection_name, context=here, REQUEST=REQUEST)
# PERFORMANCE
report_sections = ( (None, 0, 0, object_list, len(object_list), 0), )
......
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