Commit dd5ffa73 authored by Julien Muchembled's avatar Julien Muchembled

CategoryTool.getAcquiredCategoryList: do not duplicate loopback value on categories

parent 20a82576
...@@ -1190,8 +1190,6 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -1190,8 +1190,6 @@ class CategoryTool( UniqueObject, Folder, Base ):
# Make sure all local categories are considered # Make sure all local categories are considered
if c not in result: if c not in result:
append(c) append(c)
if getattr(context, 'isCategory', 0):
append(context.getRelativeUrl()) # Pure category is member of itself
return result return result
# Catalog related methods # Catalog related methods
......
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