Commit 49cbf70e authored by Sebastien Robin's avatar Sebastien Robin

fixed error in my previous commit

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15010 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f92c6a74
...@@ -276,7 +276,7 @@ class FolderMixIn(ExtensionClass.Base): ...@@ -276,7 +276,7 @@ class FolderMixIn(ExtensionClass.Base):
if delete_parent_uid: if delete_parent_uid:
del kw['parent_uid'] del kw['parent_uid']
kw2 = {} #kw2 = {}
# Remove useless matter before calling the # Remove useless matter before calling the
# catalog. In particular, consider empty # catalog. In particular, consider empty
# strings as None values # strings as None values
...@@ -286,7 +286,7 @@ class FolderMixIn(ExtensionClass.Base): ...@@ -286,7 +286,7 @@ class FolderMixIn(ExtensionClass.Base):
# The method to call to search the folder # The method to call to search the folder
# content has to be called z_search_folder # content has to be called z_search_folder
method = self.portal_catalog.countResults method = self.portal_catalog.countResults
return method(**kw2) return method(**kw)
# Count objects in the folder # Count objects in the folder
security.declarePrivate('_count') security.declarePrivate('_count')
......
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