Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update the messages call to include projects

Mir Bhatia10ada78fd8e6
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb
index e4e38719e4f..b33a45c97cc 100644
--- a/app/controllers/messages_controller.rb
+++ b/app/controllers/messages_controller.rb
@@ -51,7 +51,7 @@ class MessagesController < ApplicationController
@replies = @topic
.children
- .includes(:author, :attachments, forum: :project)
+ .includes(:author, :attachments, :project, forum: :project)
.order(created_at: :asc)
.page(@offset)
.per_page(per_page_param)