Commit aa2d24eb authored by Romain Courteaud's avatar Romain Courteaud

Add worklist count to each workflow's action.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26154 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a91d505
...@@ -397,6 +397,7 @@ def generateActionList(worklist_metadata, worklist_result, portal_url): ...@@ -397,6 +397,7 @@ def generateActionList(worklist_metadata, worklist_result, portal_url):
'worklist_id': metadata['worklist_id'], 'worklist_id': metadata['worklist_id'],
'workflow_title': metadata['workflow_title'], 'workflow_title': metadata['workflow_title'],
'workflow_id': metadata['workflow_id'], 'workflow_id': metadata['workflow_id'],
'count': format_data['count'],
'permissions': (), # Predetermined. 'permissions': (), # Predetermined.
'category': metadata['action_box_category']}) 'category': metadata['action_box_category']})
return action_list return action_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