Merge pull request #5928 from FinnStutzenstein/orderAssignmentOptions
order assignment options by weight
This commit is contained in:
commit
d73b2142b7
@ -29,7 +29,8 @@ const AssignmentPollRelations: RelationDefinition[] = [
|
|||||||
type: 'O2M',
|
type: 'O2M',
|
||||||
ownIdKey: 'options_id',
|
ownIdKey: 'options_id',
|
||||||
ownKey: 'options',
|
ownKey: 'options',
|
||||||
foreignViewModel: ViewAssignmentOption
|
foreignViewModel: ViewAssignmentOption,
|
||||||
|
order: 'weight'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'M2O',
|
type: 'M2O',
|
||||||
|
Loading…
Reference in New Issue
Block a user