Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add fix to allow search criteria based on hashes fields - needs to be…

… improved
  • Loading branch information...
commit 3e2694e0469599672b1fd5fccf13fe28d1bf4a27 1 parent a93c88d
@erishine erishine authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/active_admin/mongoid/filter_form_builder.rb
View
2  lib/active_admin/mongoid/filter_form_builder.rb
@@ -12,6 +12,8 @@ def default_input_type(method, options = {})
when :float, :decimal
return :numeric
end
+ else # dirty but allows to create filters for hashes
+ return :string
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.