Merge pull request #4731 from FinnStutzenstein/fixAgendaSorting

Readded default sorting for agenda
This commit is contained in:
Emanuel Schütze 2019-05-21 17:50:43 +02:00 committed by GitHub
commit d2b81e2a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,8 @@ export class ItemRepositoryService extends BaseRepository<ViewItem, Item> {
Motion, Motion,
MotionBlock MotionBlock
]); ]);
this.setSortFunction((a, b) => a.weight - b.weight);
} }
public getVerboseName = (plural: boolean = false) => { public getVerboseName = (plural: boolean = false) => {