Readded default sorting for agenda
The default sorting was removed here: https://github.com/OpenSlides/OpenSlides/pull/4671/files#diff-c72ce8d0c2c339385819bf10c685c276L128 Readded it in the repository (instead of the filter-/sortingservices), so the agenda is always well sorted.
This commit is contained in:
parent
294d324419
commit
5c4d7af917
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user