Commit 2f162c88 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

sort business template install validation list.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25508 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d8534c86
...@@ -105,6 +105,7 @@ for object_id in keys:\n ...@@ -105,6 +105,7 @@ for object_id in keys:\n
object_list.append(line)\n object_list.append(line)\n
i += 1 \n i += 1 \n
\n \n
object_list.sort(key=lambda x:(x.object_class, x.object_state))\n
return object_list\n return object_list\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -136,6 +136,7 @@ for bt in bt_id_list:\n ...@@ -136,6 +136,7 @@ for bt in bt_id_list:\n
object_list.append(line)\n object_list.append(line)\n
i += 1 \n i += 1 \n
\n \n
object_list.sort(key=lambda x:(x.bt_title, x.object_class, x.object_state))\n
return object_list\n return object_list\n
</string> </value> </string> </value>
</item> </item>
......
1083 1084
\ No newline at end of file \ 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