diff options
author | Go MAEDA <maeda@farend.jp> | 2020-01-12 07:03:10 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-01-12 07:03:10 +0000 |
commit | a853fc0e730b3bd7e964945dfec6e0cb097e4e7b (patch) | |
tree | aece680ccab809e1118f0970ffdca8884fda43e6 /app | |
parent | d618229f092cf27e10db2cac30c2ecc0b1c7e9bf (diff) | |
download | redmine-a853fc0e730b3bd7e964945dfec6e0cb097e4e7b.tar.gz redmine-a853fc0e730b3bd7e964945dfec6e0cb097e4e7b.zip |
Fix sort projects table by custom field (#32769).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19421 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_query.rb b/app/models/project_query.rb index 4a36c8029..54c16d8e6 100644 --- a/app/models/project_query.rb +++ b/app/models/project_query.rb @@ -70,7 +70,7 @@ class ProjectQuery < Query return @available_columns if @available_columns @available_columns = self.class.available_columns.dup @available_columns += ProjectCustomField.visible. - map {|cf| QueryAssociationCustomFieldColumn.new(:project, cf) } + map {|cf| QueryCustomFieldColumn.new(cf) } @available_columns end |