diff --git a/unifier/views.py b/unifier/views.py index 7aca78b792f6f34939721be50901cbeeb15f49c1..105092a9313077fc736dc662e562f5bf920477d4 100644 --- a/unifier/views.py +++ b/unifier/views.py @@ -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': [