Skip to content

Commit

Permalink
order null donations to last position
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosQ96 committed Oct 5, 2023
1 parent 52fcca7 commit 21e2a98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/repositories/projectRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export const filterProjectsQuery = (params: FilterProjectQueryInputParams) => {
.orderBy(
'projectEstimatedMatchingView.sumValueUsd',
OrderDirection.DESC,
'NULLS LAST',
)
.addOrderBy(`project.verified`, OrderDirection.DESC);
}
Expand Down

0 comments on commit 21e2a98

Please sign in to comment.