summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-02-13 14:06:10 +0000
committerGo MAEDA <maeda@farend.jp>2019-02-13 14:06:10 +0000
commit489664df7e2e4d290079c7a4a6fbb776f82ad328 (patch)
treeec0cda55982210db0bf455bf90524fce5b229980 /app/models/query.rb
parente1efdba703940a96b97f417c7d366bd086111067 (diff)
downloadredmine-489664df7e2e4d290079c7a4a6fbb776f82ad328.tar.gz
redmine-489664df7e2e4d290079c7a4a6fbb776f82ad328.zip
Show full width layout custom fields as block columns in issue listing (#26081).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17865 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r--app/models/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index 73e280dd3..bfc6841c2 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -123,7 +123,7 @@ class QueryCustomFieldColumn < QueryColumn
self.sortable = custom_field.order_statement || false
self.groupable = custom_field.group_statement || false
self.totalable = options.key?(:totalable) ? !!options[:totalable] : custom_field.totalable?
- @inline = true
+ @inline = custom_field.full_width_layout? ? false : true
@cf = custom_field
end