Adds sort order to free event type 404 (#2278)

pull/2279/head
Omar López 2022-03-25 11:50:13 -07:00 committed by GitHub
parent 92534c7e6d
commit 94006156d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -169,6 +169,14 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
},
],
},
orderBy: [
{
position: "desc",
},
{
id: "asc",
},
],
select: {
id: true,
},