From: Jean-Philippe Lang Date: Mon, 11 Jul 2011 11:36:55 +0000 (+0000) Subject: Adds float case on filters partial. X-Git-Tag: 1.3.0~1672 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26a39613344fe575214af077fa99ed7c3975184a;p=redmine.git Adds float case on filters partial. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6257 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/queries/_filters.rhtml b/app/views/queries/_filters.rhtml index 8942c8b60..2735cb17e 100644 --- a/app/views/queries/_filters.rhtml +++ b/app/views/queries/_filters.rhtml @@ -130,7 +130,7 @@ Event.observe(document,"dom:loaded", apply_filters_observer); <%= text_field_tag "v[#{field}][]", query.value_for(field), :size => 3, :class => "values_#{field}" %> <%= l(:label_day_plural) %> <% when :string, :text %> <%= text_field_tag "v[#{field}][]", query.value_for(field), :class => "values_#{field}", :id => "values_#{field}", :size => 30 %> - <% when :integer %> + <% when :integer, :float %> <%= text_field_tag "v[#{field}][]", query.value_for(field), :class => "values_#{field}", :id => "values_#{field}_1", :size => 3 %> <%= text_field_tag "v[#{field}][]", query.value_for(field, 1), :class => "values_#{field}", :id => "values_#{field}_2", :size => 3 %> <% end %>