mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Rename Priority to score for sorting. (#9846)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user