summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-30 06:19:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-30 06:19:04 +0000
commit56742e65deffd32a80b0ad84721ced2079e6e28b (patch)
tree23be02a47025c4049a69911de868b8a1b51f6c5d /app/views
parentf6211eec77bf63831f99dd89841a4e16e656a26d (diff)
downloadredmine-56742e65deffd32a80b0ad84721ced2079e6e28b.tar.gz
redmine-56742e65deffd32a80b0ad84721ced2079e6e28b.zip
Cannot uncheck Gantt chart options of a custom query (#31063).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18015 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/queries/_form.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index f424e103c..7f79906ef 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -40,6 +40,8 @@
<% else %>
<fieldset id="options"><legend><%= l(:label_options) %></legend>
<p><label><%= l(:button_show) %></label>
+ <%= hidden_field_tag 'query[draw_relations]', '0' %>
+ <%= hidden_field_tag 'query[draw_progress_line]', '0' %>
<label class="inline"><%= check_box_tag "query[draw_relations]", "1", @query.draw_relations %> <%= l(:label_related_issues) %></label>
<label class="inline"><%= check_box_tag "query[draw_progress_line]", "1", @query.draw_progress_line %> <%= l(:label_gantt_progress_line) %></label>
</p>