Commit 9c0b2d73 authored by Łukasz Nowak's avatar Łukasz Nowak

- revert 45488, as in other places list of Business Templates is being sort alphabetically

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45489 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d4a96a93
......@@ -82,8 +82,10 @@ bt5_id_list = dict([(x, True) for x in list(required_bt5_id_list) + \\\n
list(reinstallable_bt5_id_list) \\\n
if x in available_bt5_id_list]).keys()\n
\n
# sort by dependencies\n
bt5_list = [portal_templates.decodeRepositoryBusinessTemplateUid(x.uid) for x in \\\n
available_bt5_list if x.title in bt5_id_list]\n
bt5_list = portal_templates.sortBusinessTemplateList(bt5_list)\n
\n
installed_bt5_title_list = [o.getTitle() for o in portal_templates.getInstalledBusinessTemplateList()]\n
\n
......
587
\ No newline at end of file
588
\ 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