Commit e3beb002 authored by Aurel's avatar Aurel

reverse sort of keys at uninstall of path


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4873 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4b07716f
...@@ -602,6 +602,8 @@ class PathTemplateItem(ObjectTemplateItem): ...@@ -602,6 +602,8 @@ class PathTemplateItem(ObjectTemplateItem):
object_keys = [object_path] object_keys = [object_path]
else: else:
object_keys = self._path_archive.keys() object_keys = self._path_archive.keys()
object_keys.sort()
object_keys.reverse()
p = context.getPortalObject() p = context.getPortalObject()
for path in object_keys: for path in object_keys:
for relative_url in self._resolvePath(p, [], path.split('/')): for relative_url in self._resolvePath(p, [], path.split('/')):
......
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