Commit 5b6a7522 authored by Romain Courteaud's avatar Romain Courteaud

Bug fix: remove none categories return in getVariationRangeCategoryItemList

(thx to the Unit Test).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3754 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 77012955
...@@ -128,7 +128,8 @@ class Resource(XMLMatrix, CoreResource, Variated): ...@@ -128,7 +128,8 @@ class Resource(XMLMatrix, CoreResource, Variated):
result += self.portal_categories.unrestrictedTraverse(c).\ result += self.portal_categories.unrestrictedTraverse(c).\
getCategoryChildLogicalPathItemList( getCategoryChildLogicalPathItemList(
base=base, base=base,
display_base_category=display_base_category) display_base_category=display_base_category,
display_none_category=0)
return result 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