Skip to content

Commit

Permalink
Added command to sort by the curie_suffix field.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Aug 4, 2023
1 parent eb81e54 commit 0428f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ async def lookup(string: str,
"pf": "preferred_name_exactish^20 preferred_name^3 names^2"
},
},
"sort": "score DESC, curie_suffix ASC",
"limit": limit,
"offset": offset,
"filter": filters
Expand Down

0 comments on commit 0428f65

Please sign in to comment.