]> source.dussan.org Git - redmine.git/commitdiff
Possible double includes in issue query in gantt helper (#33381).
authorGo MAEDA <maeda@farend.jp>
Sun, 6 Jun 2021 04:48:24 +0000 (04:48 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 6 Jun 2021 04:48:24 +0000 (04:48 +0000)
Contributed by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21028 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/helpers/gantt.rb

index 122013e5aabd7167b036698262677225cf0007e1..882a8b7505c9f16a0be870a8cc90c35fbe1ec90c 100644 (file)
@@ -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
         )