Commit 5ebc6135 authored by Jérome Perrin's avatar Jérome Perrin

core: sort document conversion formats in report dialog

parent 358bffd6
......@@ -4,5 +4,5 @@ td = context.newContent(
portal_type='OOo Document',
temp_object=True,
base_content_type=base_content_type,
base_data='not empty')
return [('', '')] + td.getTargetFormatItemList()
base_data=b'not empty')
return [('', '')] + sorted(td.getTargetFormatItemList())
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