Merge pull request #3495 from BrokenEagle/fix-missing-super-search
Fix missing controllers for search[id] (Ref #3430)
This commit is contained in:
@@ -51,8 +51,8 @@ class ModAction < ApplicationRecord
|
||||
other: 2000
|
||||
}
|
||||
|
||||
def self.search(params = {})
|
||||
q = where("true")
|
||||
def self.search(params)
|
||||
q = super
|
||||
return q if params.blank?
|
||||
|
||||
if params[:creator_id].present?
|
||||
|
||||
Reference in New Issue
Block a user