Adds sort order to free event type 404 (#2278)
parent
92534c7e6d
commit
94006156d7
|
@ -169,6 +169,14 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
|
|||
},
|
||||
],
|
||||
},
|
||||
orderBy: [
|
||||
{
|
||||
position: "desc",
|
||||
},
|
||||
{
|
||||
id: "asc",
|
||||
},
|
||||
],
|
||||
select: {
|
||||
id: true,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue