Commit 2e8cf012 authored by Sebastien Robin's avatar Sebastien Robin

sorry, I am unable to fix 2 lines :)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15013 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 53688801
......@@ -239,8 +239,7 @@ class FolderMixIn(ExtensionClass.Base):
if delete_parent_uid:
del kw['parent_uid']
kw2 = {}
# kw2 = {}
# I (seb) remove this because sometimes it
# is important to give a None parameter, like limit=None
# Remove useless matter before calling the
......@@ -253,7 +252,7 @@ class FolderMixIn(ExtensionClass.Base):
# The method to call to search the folder
# content has to be called z_search_folder
method = self.portal_catalog.portal_catalog
return method(**kw2)
return method(**kw)
security.declareProtected(Permissions.View, 'countFolder')
def countFolder(self, **kw):
......
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