From aa2d24ebcde0fa81149f00fa4a5e30c2038bf7c7 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 25 Mar 2009 12:33:53 +0000 Subject: [PATCH] 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 --- product/ERP5Type/patches/WorkflowTool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/patches/WorkflowTool.py b/product/ERP5Type/patches/WorkflowTool.py index 82f38443d8..a1328af5cd 100644 --- a/product/ERP5Type/patches/WorkflowTool.py +++ b/product/ERP5Type/patches/WorkflowTool.py @@ -397,6 +397,7 @@ def generateActionList(worklist_metadata, worklist_result, portal_url): 'worklist_id': metadata['worklist_id'], 'workflow_title': metadata['workflow_title'], 'workflow_id': metadata['workflow_id'], + 'count': format_data['count'], 'permissions': (), # Predetermined. 'category': metadata['action_box_category']}) return action_list -- 2.30.9