about summary refs log tree commit diff
path: root/app/controllers/admin/reports_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-02 16:45:49 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-02 16:45:49 +0200
commit4b7dca47130b97e2f213cb28def741c6dee46ff1 (patch)
tree2d2fb36745b217f6da6840a433a01370ddfbcbfd /app/controllers/admin/reports_controller.rb
parent3a62721e541166af64419dba1ea54672bc7a73ba (diff)
Fix wording "show reblogs" -> "show boosts", order reports chronologically in
admin UI
Diffstat (limited to 'app/controllers/admin/reports_controller.rb')
-rw-r--r--app/controllers/admin/reports_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/reports_controller.rb b/app/controllers/admin/reports_controller.rb
index 67d57e4eb..0117a18ee 100644
--- a/app/controllers/admin/reports_controller.rb
+++ b/app/controllers/admin/reports_controller.rb
@@ -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