Commit 5fdf782a authored by Nicolas Delaby's avatar Nicolas Delaby

Since entities are escaped for UI, use spaces instead  

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21040 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eac6b244
...@@ -203,7 +203,7 @@ class Category(Folder): ...@@ -203,7 +203,7 @@ class Category(Folder):
logical_title_list = [] logical_title_list = []
if path_len >= 2: if path_len >= 2:
logical_title_list.append(' ' * 4 * (path_len - 1)) logical_title_list.append(' ' * 4 * (path_len - 1))
logical_title = getattr(self, item_method)() logical_title = getattr(self, item_method)()
if logical_title in [None, '']: if logical_title in [None, '']:
...@@ -236,7 +236,7 @@ class Category(Folder): ...@@ -236,7 +236,7 @@ class Category(Folder):
logical_title_list = [] logical_title_list = []
if path_len >= 2: if path_len >= 2:
logical_title_list.append(' ' * 4 * (path_len - 1)) logical_title_list.append(' ' * 4 * (path_len - 1))
logical_title = getattr(self, item_method)() logical_title = getattr(self, item_method)()
if logical_title in [None, '']: if logical_title in [None, '']:
logical_title = self.getId() logical_title = self.getId()
......
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