[Erp5-report] r12029 - /erp5/trunk/products/ERP5/Document/Domain.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 11 15:59:44 CET 2007
Author: jp
Date: Thu Jan 11 15:59:43 2007
New Revision: 12029
URL: http://svn.erp5.org?rev=12029&view=rev
Log:
Should also consider domains
Modified:
erp5/trunk/products/ERP5/Document/Domain.py
Modified: erp5/trunk/products/ERP5/Document/Domain.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Domain.py?rev=12029&r1=12028&r2=12029&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Domain.py (original)
+++ erp5/trunk/products/ERP5/Document/Domain.py Thu Jan 11 15:59:43 2007
@@ -94,7 +94,7 @@
since it is never present in the category list
"""
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)
More information about the Erp5-report
mailing list