]> source.dussan.org Git - redmine.git/commitdiff
Cannot uncheck Gantt chart options of a custom query (#31063).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 30 Mar 2019 06:19:04 +0000 (06:19 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 30 Mar 2019 06:19:04 +0000 (06:19 +0000)
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18015 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/queries/_form.html.erb

index f424e103cdf77d93846f68b832f33f82f5ea55f6..7f79906efba6bd8a031e4d77f8099514b1492e9a 100644 (file)
@@ -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>