Skip to content

Commit

Permalink
Merge pull request #61 from FinnStutzenstein/motion-category-sort-aut…
Browse files Browse the repository at this point in the history
…oupdate

Fix autoupdate for motion category sort
  • Loading branch information
FinnStutzenstein committed Oct 20, 2020
2 parents c5a751b + a36befa commit cde0f50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class MotionCategoryRepositoryService extends BaseRepositoryWithActiveMee

public getFieldsets(): Fieldsets<MotionCategory> {
const detailFields: (keyof MotionCategory)[] = ['name', 'prefix'];
const sortListFields: (keyof MotionCategory)[] = detailFields.concat(['weight']);
const sortListFields: (keyof MotionCategory)[] = detailFields.concat(['weight', 'parent_id', 'child_ids']);
const listFields: (keyof MotionCategory)[] = sortListFields.concat(['motion_ids']);
return {
[DEFAULT_FIELDSET]: detailFields,
Expand Down

0 comments on commit cde0f50

Please sign in to comment.