Commit e615a42f authored by Jean-Paul Smets's avatar Jean-Paul Smets

Should also consider domains

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12029 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b20fd39
...@@ -94,7 +94,7 @@ class Domain(Predicate, MetaNode, MetaResource): ...@@ -94,7 +94,7 @@ class Domain(Predicate, MetaNode, MetaResource):
since it is never present in the category list since it is never present in the category list
""" """
content_path = self.portal_url.getRelativeContentPath(self) content_path = self.portal_url.getRelativeContentPath(self)
if content_path[0] == 'portal_categories': if content_path[0] in ('portal_categories', 'portal_domains'):
return '/'.join(content_path[1:]) return '/'.join(content_path[1:])
return '/'.join(content_path) return '/'.join(content_path)
......
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