Commit f138ddff authored by Sebastien Robin's avatar Sebastien Robin

corrected bad parameters in _getCategoryMembershipList


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1375 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b00efcde
......@@ -476,7 +476,7 @@ be a problem)."""
# Special Relation keyword : 'content' and 'container'
security.declareProtected( Permissions.AccessContentsInformation, '_getCategoryMembershipList' )
def _getCategoryMembershipList(self, category,
spec=(), filter=filter, portal_type=portal_type, base=0 ):
spec=(), filter=None, portal_type=(), base=0 ):
if category == 'content':
content_list = self.searchFolder(portal_type=spec)
return map(lambda x: x.relative_url, content_list)
......
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