Commit 625642c2 authored by Kevin Deldycke's avatar Kevin Deldycke

Support base_category in asSqlExpression


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5817 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d64f1550
......@@ -544,7 +544,7 @@ class BaseCategory(Category):
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
def asSqlExpression(self, strict_membership=0, table='category'):
def asSqlExpression(self, strict_membership=0, table='category', base_category=None):
"""
A Predicate can be rendered as an sql expression. This
can be useful to create reporting trees based on the
......
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