From 1fefa970d609fff4391f7aaa4aff62c619d2b03b Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang
Date: Sun, 29 Jan 2017 13:11:37 +0000
Subject: [PATCH] Disable description and columns when checking "Default
columns" (#24907).
git-svn-id: http://svn.redmine.org/redmine/trunk@16304 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
app/views/queries/_form.html.erb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index 28a58272a..f424e103c 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -26,12 +26,12 @@
<%= select 'query', 'group_by', @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, :include_blank => true %>
-
+
<%= available_block_columns_tags(@query) %>
@@ -71,7 +71,7 @@
<% end %>
<% unless params[:gantt] %>
-<%= content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
+<%= content_tag 'fieldset', :id => 'columns' do %>
<%= render_query_columns_selection(query) %>
<% end %>