Commit 3f1c99f6 authored by Jean-Paul Smets's avatar Jean-Paul Smets

2006-12-26 jp

* use absolute_url_path instead of getPath to list modules

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11788 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 94f7def7
......@@ -80,7 +80,7 @@ def getModuleItemList(user=None, portal_path=None):\n
module = portal.restrictedTraverse(module_id, None)\n
if module is not None:\n
if portal.portal_membership.checkPermission(\'View\', module):\n
item_list.append((gettext(module.getTitleOrId()), module.getPath()))\n
item_list.append((gettext(module.getTitleOrId()), module.absolute_url_path()))\n
\n
item_list.sort(lambda a, b:cmp(a[0], b[0]))\n
return item_list\n
......
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