mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
link email logs to the post that generate the email notification when available
This commit is contained in:
@@ -67,7 +67,7 @@ class Admin::EmailController < Admin::AdminController
|
||||
private
|
||||
|
||||
def filter_email_logs(email_logs, params)
|
||||
email_logs = email_logs.includes(:user)
|
||||
email_logs = email_logs.includes(:user, { post: :topic })
|
||||
.references(:user)
|
||||
.order(created_at: :desc)
|
||||
.offset(params[:offset] || 0)
|
||||
|
||||
Reference in New Issue
Block a user