From 26a39613344fe575214af077fa99ed7c3975184a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 11 Jul 2011 11:36:55 +0000 Subject: [PATCH] Adds float case on filters partial. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6257 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/queries/_filters.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %> -- 2.39.5