Commit 25196aa0 authored by Romain Courteaud's avatar Romain Courteaud

Make getVariationRangeCategoryItemList more user friendly.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3750 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 60b26200
......@@ -125,7 +125,10 @@ class Resource(XMLMatrix, CoreResource, Variated):
other_base_category_list = map(lambda x: x[0],
other_base_category_item_list)
for c in other_base_category_list:
result += self.portal_categories.unrestrictedTraverse(c).getBaseItemList(base=base)
result += self.portal_categories.unrestrictedTraverse(c).\
getCategoryChildLogicalPathItemList(
base=base,
display_base_category=display_base_category)
return result
......
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