Commit 63c5706d authored by Yusei Tahara's avatar Yusei Tahara

Add arguments(keep_default, checked_permission) to _getCategoryMembershipList...

Add arguments(keep_default, checked_permission) to _getCategoryMembershipList for keeping compatibility with ERP5Type.Base.Base.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16534 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9871a752
......@@ -920,7 +920,8 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn,
security.declareProtected( Permissions.AccessContentsInformation,
'_getCategoryMembershipList' )
def _getCategoryMembershipList(self, category,
spec=(), filter=None, portal_type=(), base=0 ):
spec=(), filter=None, portal_type=(), base=0,
keep_default=None, checked_permission=None):
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