Commit dd87249e authored by Romain Courteaud's avatar Romain Courteaud Committed by Sebastien Robin

Always return document title.

parent 41a3e3fa
...@@ -401,6 +401,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n ...@@ -401,6 +401,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n
# Default properties shared by all ERP5 Document and Site\n # Default properties shared by all ERP5 Document and Site\n
action_dict = {}\n action_dict = {}\n
# result_dict[\'_relative_url\'] = traversed_document.getRelativeUrl()\n # result_dict[\'_relative_url\'] = traversed_document.getRelativeUrl()\n
result_dict[\'title\'] = traversed_document.getTitle()\n
\n \n
# Add a link to the portal type if possible\n # Add a link to the portal type if possible\n
if not is_portal:\n if not is_portal:\n
......
19 20
\ No newline at end of file \ No newline at end of file
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