Remove upload tags report

- Use the current comparison type for post versions instead
- Also add the note versions as a report
- No other versions are meaningful as reports since it is expected
  for them to be modified by other users, or they don't have version
  numbers as is the case with artist commentaries
This commit is contained in:
BrokenEagle
2020-03-17 17:05:26 +00:00
parent e23ee170f5
commit 429667e664
4 changed files with 5 additions and 64 deletions

View File

@@ -1,9 +0,0 @@
class ReportsController < ApplicationController
respond_to :html, :xml, :json
def upload_tags
@user = User.find(params[:user_id])
@upload_reports = Reports::UploadTags.includes(versions: { post: :versions }).for_user(params[:user_id]).order("id desc").paginate(params[:page], :limit => params[:limit])
respond_with(@upload_reports)
end
end