Added search to admin reports page
• Added: - search to admin reports page
This commit is contained in:
@@ -23,6 +23,8 @@ class ReportFilter
|
||||
Report.where(account_id: value)
|
||||
when :target_account_id
|
||||
Report.where(target_account_id: value)
|
||||
when :comment
|
||||
Report.where(comment: value)
|
||||
else
|
||||
raise "Unknown filter: #{key}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user