Fix wording "show reblogs" -> "show boosts", order reports chronologically in

admin UI
This commit is contained in:
Eugen Rochko committed 2017-04-02 16:45:49 +02:00
1 parent 3a62721e54
commit 4b7dca4713
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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