Skip to content
Snippets Groups Projects
Commit f2f7b5ec authored by dcz's avatar dcz
Browse files

Attributes sorting correction

parent 60cebbeb
Branches
Tags
No related merge requests found
......@@ -110,7 +110,7 @@ def unifiedFrame2dict(frame):
'str': '{}{}'.format(r.role.role.lower(), ' ' + r.attribute.attribute.lower() if r.attribute else ''),
'id': str(r.id)
} for r in a.proposed_roles.all()],
} for a in sorted(frame.unified_arguments.all(), key=lambda x: x.order_id)
} for a in sorted(frame.unified_arguments.all(), key=lambda x: x.id)
],
'slowal_frame_mapping': [
......
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