mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 16:52:45 +08: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