Commit 986acb42 authored by Jérome Perrin's avatar Jérome Perrin

inconditionnaly pass parent_uid in searchFolder / countFolder


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34483 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e1b3d1e6
......@@ -270,7 +270,6 @@ class FolderMixIn(ExtensionClass.Base):
Search the content of a folder by calling
the portal_catalog.
"""
if not kw.has_key('parent_uid'): #WHY ????
kw['parent_uid'] = self.getUid()
# Make sure that if we use parent base category
......@@ -303,7 +302,6 @@ class FolderMixIn(ExtensionClass.Base):
Search the content of a folder by calling
the portal_catalog.
"""
if not kw.has_key('parent_uid'): #WHY ????
kw['parent_uid'] = self.getUid()
# Make sure that if we use parent base category
......
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