Vote #71879
完了Columns selection not displayed on the custom query form
0%
説明
The Default columns in Custom queries is not working on Redmine 2.0, the fieldset tag "columns" is not rendering.
Environment:
Redmine version 2.0.0.stable.9700
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.3
Environment production
Database adapter MySQL
The helper content_tag must be in a output embedding tag <%= %>, that will fix the issue.
The issue is in the view: redmine/app/views/queries/_form.html.erb.
Solution:
<%= content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
<%= render :partial => 'queries/columns', :locals => {:query => query}%>
<% end %>
or
<%= field_set_tag l(:field_column_names), :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
<%= render :partial => 'queries/columns', :locals => {:query => query}%>
<% end %>
journals
Fixed in r9702. Thanks for pointing this out.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------