UX: Rename Priority to score for sorting. (#9846)

This commit is contained in:
Roman Rizzi
2020-05-27 12:50:28 -03:00
committed by GitHub
parent 488f8d914a
commit 461df7d050
5 changed files with 15 additions and 17 deletions

View File

@@ -450,7 +450,7 @@ class Reviewable < ActiveRecord::Base
min_score = Reviewable.min_score_for_priority(priority)
order = case sort_order
when 'priority_asc'
when 'score_asc'
'reviewables.score ASC, reviewables.created_at DESC'
when 'created_at'
'reviewables.created_at DESC, reviewables.score DESC'