Adds sort order to free event type 404 (#2278)
This commit is contained in:
1 parent
92534c7e6d
commit
94006156d7
1 file changed
+8
@@ -169,6 +169,14 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
|
||||
},
|
||||
],
|
||||
},
|
||||
orderBy: [
|
||||
{
|
||||
position: "desc",
|
||||
},
|
||||
{
|
||||
id: "asc",
|
||||
},
|
||||
],
|
||||
select: {
|
||||
id: true,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user