Updated status.rb recent scope to reorder by updated_at
• Updated: - status.rb recent scope to reorder by updated_at from id
This commit is contained in:
parent
9fb8973350
commit
483f8fb888
@ -85,7 +85,7 @@ class Status < ApplicationRecord
|
||||
|
||||
default_scope { recent }
|
||||
|
||||
scope :recent, -> { reorder(id: :desc) }
|
||||
scope :recent, -> { reorder(updated_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