Commit 483f8fb8 authored by mgabdev's avatar mgabdev

Updated status.rb recent scope to reorder by updated_at

• Updated:
- status.rb recent scope to reorder by updated_at from id
parent 9fb89733
......@@ -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)) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment