Commit 3085c41b authored by Jérome Perrin's avatar Jérome Perrin Committed by Kazuhiko Shiozaki

core: sort document conversion formats in report dialog

parent 4f768cbd
......@@ -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