Commit 5d71d6cf authored by Romain Courteaud's avatar Romain Courteaud

Bug fix: parameter list to portal_catalog wasn't used.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6350 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5958043b
......@@ -681,6 +681,10 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
kw[catalog_index] = value
kw['portal_type'] = portal_type_list
kw['sort_on'] = catalog_index
parameter_list = field.get_value('parameter_list')
if len(parameter_list) > 0:
for k,v in parameter_list:
kw[k] = v
# Get the query results
relation_list = portal_catalog(**kw)
relation_uid_list = [x.uid for x in relation_list]
......
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