Commit 6f608ee4 authored by Romain Courteaud's avatar Romain Courteaud

Update worklist generation code in order to follow ERP5Catalog API

modification.
Thanks to Vincent Pelletier.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19416 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a2938226
No related merge requests found
......@@ -192,8 +192,12 @@ def groupWorklistListByCondition(worklist_dict, acceptable_key_dict,
security_kw = {}
if len(security_parameter):
security_kw[SECURITY_PARAMETER_ID] = security_parameter
uid_list, role_column_dict = getSecurityUidListAndRoleColumnDict(
**security_kw)
uid_list, role_column_dict, local_role_column_dict = \
getSecurityUidListAndRoleColumnDict(**security_kw)
for key, value in local_role_column_dict.items():
worklist_match_dict[key] = [value]
if len(uid_list):
uid_list.sort()
role_column_dict[SECURITY_COLUMN_ID] = uid_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