Fix media attaches panel title
This commit is contained in:
parent
1e67d25856
commit
87b9fd9624
2 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ class MediaAttachment < ApplicationRecord
|
|||
scope :local, -> { where(remote_url: '') }
|
||||
scope :remote, -> { where.not(remote_url: '') }
|
||||
scope :cached, -> { remote.where.not(file_file_name: nil) }
|
||||
scope :recently_attachments, -> { attached.where(remote_url: '').order(status_id: 'DESC') }
|
||||
scope :local_attached, -> { attached.where(remote_url: '') }
|
||||
|
||||
default_scope { order(id: :asc) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue