mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: orderby in members list (#4375)
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
@@ -217,9 +217,14 @@ export class WorkspaceResolver {
|
||||
},
|
||||
skip,
|
||||
take: take || 8,
|
||||
orderBy: {
|
||||
createdAt: 'desc',
|
||||
},
|
||||
orderBy: [
|
||||
{
|
||||
createdAt: 'asc',
|
||||
},
|
||||
{
|
||||
type: 'desc',
|
||||
},
|
||||
],
|
||||
include: {
|
||||
user: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user