Fix #4149: Add missing post search options on applicable models.
This commit is contained in:
@@ -51,7 +51,7 @@ class PostFlag < ApplicationRecord
|
||||
def search(params)
|
||||
q = super
|
||||
|
||||
q = q.search_attributes(params, :post, :is_resolved)
|
||||
q = q.search_attributes(params, :post, :is_resolved, :reason)
|
||||
q = q.text_attribute_matches(:reason, params[:reason_matches])
|
||||
|
||||
# XXX
|
||||
|
||||
Reference in New Issue
Block a user