Fix wording "show reblogs" -> "show boosts", order reports chronologically in
admin UI
This commit is contained in:
1 parent
3a62721e54
commit
4b7dca4713
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user