Commit 3726bcc6 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Pass arguments to getCategoryMemberValueList.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@192 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7ca065a5
...@@ -1036,7 +1036,11 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -1036,7 +1036,11 @@ class CategoryTool( UniqueObject, Folder, Base ):
This returns a list of items belonging to a category This returns a list of items belonging to a category
""" """
catalog_search = self.getCategoryMemberValueList(context) args = {}
for v in ('portal_type', 'spec'):
if v in kw:
args[v] = kw[v]
catalog_search = self.getCategoryMemberValueList(context, *args)
#LOG('getCategoryMemberItemList', 0, repr(kw)) #LOG('getCategoryMemberItemList', 0, repr(kw))
return Renderer(**kw).render(context, catalog_search) return Renderer(**kw).render(context, catalog_search)
......
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