mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: Partial reply key search in email sent logs.
Follow up to c85b9c6ed3a847ce0df7d58340d6680536d92b90
This commit is contained in:
@ -32,7 +32,7 @@ class Admin::EmailController < Admin::AdminController
|
||||
|
||||
if params[:reply_key].present?
|
||||
email_logs = email_logs.where(
|
||||
"CAST (post_reply_keys.reply_key AS VARCHAR) ILIKE ?", "%#{params[:reply_key]}%"
|
||||
"post_reply_keys.reply_key::TEXT ILIKE ?", "%#{params[:reply_key]}%"
|
||||
)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user