Commit 8c0671f5 authored by Jérome Perrin's avatar Jérome Perrin

pass spec argument to objectItems


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17246 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7cf488f3
...@@ -759,7 +759,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, ...@@ -759,7 +759,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn,
return [] return []
return CMFBTreeFolder.objectIds(self, spec) return CMFBTreeFolder.objectIds(self, spec)
def objectItems(self, **kw): def objectItems(self, spec=None, **kw):
if self._folder_handler == HBTREE_HANDLER: if self._folder_handler == HBTREE_HANDLER:
if self._htree is None: if self._htree is None:
return [] return []
......
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