Skip to content

Commit

Permalink
Makes the average vote meaningful by considering only those items wit…
Browse files Browse the repository at this point in the history
…h more than 50 votes.
  • Loading branch information
mbgspcii committed Jul 25, 2022
1 parent 42d38c1 commit e0aa476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/constants/select-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const YES_OR_NO_OPTIONS = [

const SORT_BY_OPTIONS = [
{value: 'popularity.desc', name: 'Popularity'},
{value: 'vote_average.desc', name: 'Votes Average'},
{value: 'vote_average.desc&vote_count.gte=50', name: 'Votes Average'},
{value: 'original_title.asc', name: 'Original Title'},
{value: 'release_date.desc', name: 'Release Date'}
];
Expand Down

0 comments on commit e0aa476

Please sign in to comment.