Commit e77e113d authored by Romain Courteaud's avatar Romain Courteaud

Change parameters method to selection_method in getSelectionSelectedValueList.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2987 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e96e229c
......@@ -735,7 +735,11 @@ class SelectionTool( UniqueObject, SimpleItem ):
"""
value_list = self.getSelectionCheckedValueList(selection_name, REQUEST=REQUEST)
if len(value_list) == 0:
value_list = self.getSelectionSelectedValueList(selection_name, REQUEST=REQUEST, method=selection_method, context=context)
value_list = self.getSelectionSelectedValueList(
selection_name,
REQUEST=REQUEST,
selection_method=selection_method,
context=context)
return value_list
security.declareProtected(ERP5Permissions.View, 'getSelectionUidList')
......
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