diff options
author | Go MAEDA <maeda@farend.jp> | 2020-04-02 07:52:04 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-04-02 07:52:04 +0000 |
commit | 0f3cece5bb03a2bec9714a0fcd8bc936b8de706c (patch) | |
tree | 5b94d227eabf57aefe93262f206991ded1be99f7 /lib/redmine/helpers | |
parent | c5ec830b68b7a3f34af2b70cc876451e43dbc603 (diff) | |
download | redmine-0f3cece5bb03a2bec9714a0fcd8bc936b8de706c.tar.gz redmine-0f3cece5bb03a2bec9714a0fcd8bc936b8de706c.zip |
Fix that viewing gantt causes SQL error with SQL Server (#32737).
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@19637 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/helpers')
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 16f180090..206cdea24 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -151,7 +151,7 @@ module Redmine def issues @issues ||= @query.issues( :include => [:assigned_to, :tracker, :priority, :category, :fixed_version], - :order => "#{Project.table_name}.lft ASC, #{Issue.table_name}.id ASC", + :order => ["#{Project.table_name}.lft ASC", "#{Issue.table_name}.id ASC"], :limit => @max_rows ) end |