mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 22:15:23 +01:00
Fix Trending Tags pending review having an unstable sort order (#31473)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
71f257d529
commit
99051479c1
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class Trends::TagFilter
|
|||
|
||||
def results
|
||||
scope = if params[:status] == 'pending_review'
|
||||
Tag.unscoped
|
||||
Tag.unscoped.order(id: :desc)
|
||||
else
|
||||
trending_scope
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue