Skip to content

Commit

Permalink
Sort by verified first
Browse files Browse the repository at this point in the history
  • Loading branch information
skakac committed Nov 7, 2024
1 parent e8448a6 commit d2468c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export async function searchByContent(
},
{ score: { $meta: 'textScore' } }
)
.sort({ holders: -1, score: { $meta: 'textScore' } })
.sort({ verified: -1, holders: -1, score: { $meta: 'textScore' } })
.skip(data.start)
.limit(data.limit)

Expand Down

0 comments on commit d2468c8

Please sign in to comment.