diff --git a/product/ERP5Type/Core/Folder.py b/product/ERP5Type/Core/Folder.py index 93d07042bfb250316207e508a58353dcb65da86c..7834bfe3cc84022d93d5b3c4f29757f9ebd9d5bf 100644 --- a/product/ERP5Type/Core/Folder.py +++ b/product/ERP5Type/Core/Folder.py @@ -759,7 +759,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, return [] return CMFBTreeFolder.objectIds(self, spec) - def objectItems(self, **kw): + def objectItems(self, spec=None, **kw): if self._folder_handler == HBTREE_HANDLER: if self._htree is None: return []