mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Histories should be reverse chronological
This commit is contained in:
parent
74eaa5e7ec
commit
a2598632aa
@ -30,7 +30,7 @@ class Reviewable < ActiveRecord::Base
|
||||
belongs_to :category
|
||||
|
||||
has_many :reviewable_histories
|
||||
has_many :reviewable_scores
|
||||
has_many :reviewable_scores, -> { order(created_at: :desc) }
|
||||
|
||||
after_create do
|
||||
log_history(:created, created_by)
|
||||
|
Loading…
Reference in New Issue
Block a user