fix: 15636 Sort order of team event types incorrect (#15660)
* Fix:15636 event types sort order on team page * fix type-check --------- Co-authored-by: Anik Dhabal Babu <[email protected]> Co-authored-by: Amit Sharma <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 file changed
+8
@@ -129,6 +129,14 @@ export async function getTeamWithMembers(args: {
|
||||
not: SchedulingType.MANAGED,
|
||||
},
|
||||
},
|
||||
orderBy: [
|
||||
{
|
||||
position: "desc",
|
||||
},
|
||||
{
|
||||
id: "asc",
|
||||
},
|
||||
] as Prisma.EventTypeOrderByWithRelationInput[],
|
||||
select: {
|
||||
hosts: {
|
||||
select: {
|
||||
|
||||
Reference in new issue
Block a user