order assignment options by weight
This commit is contained in:
parent
e75bdeb0f7
commit
0a8274e6e2
@ -29,7 +29,8 @@ const AssignmentPollRelations: RelationDefinition[] = [
|
||||
type: 'O2M',
|
||||
ownIdKey: 'options_id',
|
||||
ownKey: 'options',
|
||||
foreignViewModel: ViewAssignmentOption
|
||||
foreignViewModel: ViewAssignmentOption,
|
||||
order: 'weight'
|
||||
},
|
||||
{
|
||||
type: 'M2O',
|
||||
|
Loading…
Reference in New Issue
Block a user