Commit cc3a553a authored by Julien Muchembled's avatar Julien Muchembled

Sort roles on WF transitions.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25863 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 56adc33f
......@@ -110,6 +110,6 @@ class DCWorkflowTransitionDocumentationHelper(DocumentationHelper):
"""
guard = getattr(self.getDocumentedObject(), 'guard', None)
if guard is not None:
return ', '.join(guard.roles)
return ', '.join(sorted(guard.roles))
InitializeClass(DCWorkflowTransitionDocumentationHelper)
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