Skip to content

Commit

Permalink
feat(relevancy): add deprecated in account when sorting
Browse files Browse the repository at this point in the history
Sorting booleans asc/desc is a bit confusing, but the opposite of popular makes sense, since you want popular first, and descending as late as possible
  • Loading branch information
Haroenv committed May 13, 2017
1 parent cc51669 commit 0b2add3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const defaultConfig = {
'words',
'proximity',
'attribute',
'asc(deprecated)',
'desc(popular)',
'exact',
'custom',
Expand Down

0 comments on commit 0b2add3

Please sign in to comment.