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