summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers/gantt.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-06-06 04:48:24 +0000
committerGo MAEDA <maeda@farend.jp>2021-06-06 04:48:24 +0000
commitd4fcebaee7ddf3275d2cfee85795e664391dfc67 (patch)
tree43900a8ffa73bde5cc720c7072f2ccd9cb0fe41d /lib/redmine/helpers/gantt.rb
parent63b71c90f12e53c0463077d4cdb7fc9893d8763d (diff)
downloadredmine-d4fcebaee7ddf3275d2cfee85795e664391dfc67.tar.gz
redmine-d4fcebaee7ddf3275d2cfee85795e664391dfc67.zip
Possible double includes in issue query in gantt helper (#33381).
Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21028 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/helpers/gantt.rb')
-rw-r--r--lib/redmine/helpers/gantt.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index 122013e5a..882a8b750 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -152,7 +152,6 @@ module Redmine
# Returns issues that will be rendered
def issues
@issues ||= @query.issues(
- :include => [:assigned_to, :tracker, :priority, :category, :fixed_version],
:order => ["#{Project.table_name}.lft ASC", "#{Issue.table_name}.id ASC"],
:limit => @max_rows
)