feat: include messages
This commit is contained in:
@@ -58,7 +58,7 @@ class Conversations::FilterService < FilterService
|
||||
|
||||
def conversations
|
||||
@conversations = @conversations.includes(
|
||||
:taggings, :inbox, { assignee: { avatar_attachment: [:blob] } }, { contact: { avatar_attachment: [:blob] } }, :team
|
||||
:taggings, :inbox, { assignee: { avatar_attachment: [:blob] } }, { contact: { avatar_attachment: [:blob] } }, :team, :messages
|
||||
)
|
||||
|
||||
@conversations.latest.page(current_page)
|
||||
|
||||
Reference in New Issue
Block a user