Commit a3da0f4b authored by Aurel's avatar Aurel

order key when building path


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4632 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7bd150b9
......@@ -611,7 +611,9 @@ class PathTemplateItem(ObjectTemplateItem):
def build(self, context, **kw):
BaseTemplateItem.build(self, context, **kw)
p = context.getPortalObject()
for path in self._path_archive.keys():
keys = self._path_archive.keys()
keys.sort()
for path in keys:
include_subobjects = 0
if '**' in path:
include_subobjects = 1
......
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