Commit dd5ffa73 by Julien Muchembled

CategoryTool.getAcquiredCategoryList: do not duplicate loopback value on categories

1 parent 20a82576
......@@ -1190,8 +1190,6 @@ class CategoryTool( UniqueObject, Folder, Base ):
# Make sure all local categories are considered
if c not in result:
append(c)
if getattr(context, 'isCategory', 0):
append(context.getRelativeUrl()) # Pure category is member of itself
return result
# Catalog related methods
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!