0
0
Fork 0

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

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

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