Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter with mutliple fields doesn't work #69

Closed
eliza-abraham opened this issue Jan 14, 2014 · 1 comment
Closed

Filter with mutliple fields doesn't work #69

eliza-abraham opened this issue Jan 14, 2014 · 1 comment

Comments

@eliza-abraham
Copy link

ActiveAdmin.register User do
    filter :email_or_alternate_email, :as => :string
end

This doesn't return any results with mongoid (works with mysql)

The following are my Gem versions:

activeadmin-mongoid (0.1.0)
activeadmin (~> 0.5)
meta_search (>= 1.1.0.pre)
mongoid (>= 2.4)
@elia
Copy link
Member

elia commented Jan 15, 2014

Yeah, I'm sorry but filters are there only with basic functionality.

(closing, if someone comes up with a PR I'll be glad to merge it)

@elia elia closed this as completed Jan 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants