Passing list of empty categories to the domain tool was defeating filtering of rules by category

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45046 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a75231a
......@@ -98,9 +98,6 @@ class RuleTool(BaseTool):
"""
domain_tool = getToolByName(self.getPortalObject(), "portal_domains")
if tested_base_category_list is None:
tested_base_category_list = []
rule_list = domain_tool.searchPredicateList(context=movement,
tested_base_category_list=tested_base_category_list,
portal_type=self.getPortalRuleTypeList(),
......
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