Commit a9bab438 authored by Jérome Perrin's avatar Jérome Perrin

fix sorting

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42733 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb255c6a
......@@ -98,7 +98,7 @@ def getAccountItemList(section_category,\n
account.getRelativeUrl(), ]\n
\n
return [(\'\', \'\')] + sorted(account_dict.values(),\n
key=lambda item: item[1])\n
key=lambda item: item[0])\n
\n
getAccountItemList = CachingMethod(getAccountItemList,\n
id=script.getId(),\n
......
1436
\ No newline at end of file
1437
\ 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