Fix wording "show reblogs" -> "show boosts", order reports chronologically in
admin UI
This commit is contained in:
parent
3a62721e54
commit
4b7dca4713
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ class Admin::ReportsController < ApplicationController
|
|||
layout 'admin'
|
||||
|
||||
def index
|
||||
@reports = Report.includes(:account, :target_account).paginate(page: params[:page], per_page: 40)
|
||||
@reports = Report.includes(:account, :target_account).order('id desc').paginate(page: params[:page], per_page: 40)
|
||||
@reports = params[:action_taken].present? ? @reports.resolved : @reports.unresolved
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue