Permalink
Browse files

Display string search field for Object types.

  • Loading branch information...
1 parent 816507c commit 59a2f48fa5c3f54fd8ad3d98e651a9c1aaea8866 @Ostrzy Ostrzy committed Jul 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/active_admin/mongoid/filter_form_builder.rb
@@ -4,7 +4,7 @@ def default_input_type(method, options = {})
case column.type.name.downcase.to_sym
when :date, :datetime, :time
return :date_range
- when :string, :text
+ when :string, :text, :object
return :string
when :integer
return :select if reflection_for(method.to_s.gsub('_id','').to_sym)

0 comments on commit 59a2f48

Please sign in to comment.