Commit c594d912 authored by Kevin Deldycke's avatar Kevin Deldycke

Add support of base_category in asSqlExpression


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5813 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 560b129a
...@@ -399,7 +399,7 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent): ...@@ -399,7 +399,7 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent):
security.declarePublic('asSqlExpression') security.declarePublic('asSqlExpression')
def asSqlExpression(self, table_map=None, domain_id=None, def asSqlExpression(self, table_map=None, domain_id=None,
exclude_domain_id=None, strict_membership=0, exclude_domain_id=None, strict_membership=0,
join_table="catalog", join_column="uid"): join_table="catalog", join_column="uid", base_category=None):
select_expression = [] select_expression = []
for k, d in self.domain_dict.items(): for k, d in self.domain_dict.items():
if isinstance(d, str): if isinstance(d, str):
......
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