Updated status.recent scope
• Updated: - status.recent scope to use created_at not updated_at
This commit is contained in:
parent
f964950282
commit
6fb9701f0d
@ -87,7 +87,7 @@ class Status < ApplicationRecord
|
||||
|
||||
default_scope { recent }
|
||||
|
||||
scope :recent, -> { reorder(updated_at: :desc) }
|
||||
scope :recent, -> { reorder(created_at: :desc) }
|
||||
scope :remote, -> { where(local: false).or(where.not(uri: nil)) }
|
||||
scope :local, -> { where(local: true).or(where(uri: nil)) }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user