[Erp5-report] r15541 - /erp5/trunk/products/ERP5Type/patches/WorkflowTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 7 19:51:38 CEST 2007


Author: vincent
Date: Tue Aug  7 19:51:38 2007
New Revision: 15541

URL: http://svn.erp5.org?rev=15541&view=rev
Log:
Woops, used the wrong constant.

Modified:
    erp5/trunk/products/ERP5Type/patches/WorkflowTool.py

Modified: erp5/trunk/products/ERP5Type/patches/WorkflowTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/WorkflowTool.py?rev=15541&r1=15540&r2=15541&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/WorkflowTool.py (original)
+++ erp5/trunk/products/ERP5Type/patches/WorkflowTool.py Tue Aug  7 19:51:38 2007
@@ -242,7 +242,7 @@
   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])




More information about the Erp5-report mailing list