Commit e22a482a authored by Romain Courteaud's avatar Romain Courteaud

Sort project line by int index.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20073 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93a40a09
......@@ -74,7 +74,7 @@ if depth == 0:\n
validation_state=\'validated\')]\n
else:\n
parent_object = context.restrictedTraverse(parent.parent_url)\n
category_list = parent_object.contentValues(portal_type=\'Project Line\')\n
category_list = parent_object.contentValues(portal_type=\'Project Line\', sort_on=\'int_index\')\n
\n
for category in category_list:\n
domain = parent.generateTempDomain(id=\'sub%s\' % category.getId())\n
......
449
\ No newline at end of file
452
\ 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