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 <81948346+anikdhabal@users.noreply.github.com> Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com> Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
This commit is contained in:
co-authored by
Anik Dhabal Babu
Amit Sharma
Udit Takkar
parent
59bffa075f
commit
5bbc025494
@@ -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