Commit 4bf70f12 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web: keep section/document attribute

This allows called script to call script on them
parent 2ef1b300
......@@ -46,6 +46,8 @@ def mapObject(property_dict):
result['url'] = property_dict['url']
result['level'] = property_dict['level']
result['subsection'] = property_dict['subsection']
result['section'] = property_dict.get('section', None)
result['document'] = property_dict.get('document', None)
return result
def getSiteMapItemTree(section, depth=0, level=None):
......
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