|
|
@ -12,7 +12,7 @@ module Admin
|
|
|
|
def index
|
|
|
|
def index
|
|
|
|
authorize :status, :index?
|
|
|
|
authorize :status, :index?
|
|
|
|
|
|
|
|
|
|
|
|
@statuses = @account.statuses
|
|
|
|
@statuses = @account.statuses.where(visibility: [:public, :unlisted])
|
|
|
|
|
|
|
|
|
|
|
|
if params[:media]
|
|
|
|
if params[:media]
|
|
|
|
account_media_status_ids = @account.media_attachments.attached.reorder(nil).select(:status_id).distinct
|
|
|
|
account_media_status_ids = @account.media_attachments.attached.reorder(nil).select(:status_id).distinct
|
|
|
|