mirror of
https://github.com/docmost/docmost.git
synced 2025-11-15 22:11:09 +10:00
fix: bug fixes (#1000)
* sort by groups first * add scroll area * fix group members pagination * move pagination to the right
This commit is contained in:
@ -114,6 +114,7 @@ export class SpaceMemberRepo {
|
||||
])
|
||||
.select((eb) => this.groupRepo.withMemberCount(eb))
|
||||
.where('spaceId', '=', spaceId)
|
||||
.orderBy((eb) => eb('groups.id', 'is not', null), 'desc')
|
||||
.orderBy('spaceMembers.createdAt', 'asc');
|
||||
|
||||
if (pagination.query) {
|
||||
|
||||
Reference in New Issue
Block a user