Skip to content

Commit

Permalink
fix: sort my applications listing by sentDate
Browse files Browse the repository at this point in the history
  • Loading branch information
vincit-matu committed Nov 28, 2024
1 parent fe0ab47 commit 0b12dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ui/pages/applications/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) {
variables: {
user: user.pk,
status: VALID_STATUSES,
orderBy: [ApplicationOrderingChoices.PkDesc],
orderBy: [ApplicationOrderingChoices.SentDateDesc],
},
});

Expand Down Expand Up @@ -160,7 +160,7 @@ function ApplicationsPage({
variables: {
user: currentUser?.pk ?? 0,
status: VALID_STATUSES,
orderBy: [ApplicationOrderingChoices.PkDesc],
orderBy: [ApplicationOrderingChoices.SentDateDesc],
},
});

Expand Down

0 comments on commit 0b12dd8

Please sign in to comment.