From fae04b68e6199093fa9b2c84aa8d06c607104f16 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Tue, 7 Aug 2007 17:51:38 +0000 Subject: [PATCH] Woops, used the wrong constant. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15541 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/patches/WorkflowTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/patches/WorkflowTool.py b/product/ERP5Type/patches/WorkflowTool.py index 1c3dd7a507..0b307d7002 100644 --- a/product/ERP5Type/patches/WorkflowTool.py +++ b/product/ERP5Type/patches/WorkflowTool.py @@ -242,7 +242,7 @@ def getWorklistListQuery(grouped_worklist_dict, securityQueryHook): total_criterion_id_list.sort(criterion_id_cmp) query = generateNestedQuery(priority_list=total_criterion_id_list, criterion_dict=total_criterion_id_dict, securityQueryHook=securityQueryHook) assert query is not None - if SECURITY_COLUMN_ID not in total_criterion_id_list: + if SECURITY_PARAMETER_ID not in total_criterion_id_list: # This request has no defined local_roles, so we must use default security query query = ComplexQuery(query, securityQueryHook(), operator='AND') group_by_expression = ', '.join([x for x in total_criterion_id_dict.keys() if x != SECURITY_PARAMETER_ID]) -- 2.30.9