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

Fixes sidebar filter on ActiveAdmin index pages. Rendering the sidebar f... #84

Closed
wants to merge 9 commits into from

Conversation

chenkirk
Copy link

...ilter will no longer use Ransack but directly use formtastic and pull values from params[:q]. Querying of index collection also uses query from params instead of going through Ransack. Currently the index filters will support exact match on BSON::Id, String, Int, Symbols, and DateTime (matched on day).

fixes #52

fred and others added 5 commits April 11, 2014 20:10
…r filter will no longer use Ransack but directly use formtastic and pull values from params[:q]. Querying of index collection also uses query from params instead of going through Ransack. Currently the index filters will support exact match on BSON::Id, String, Int, Symbols, and DateTime (matched on day).
@chenkirk
Copy link
Author

CI on rails4 branch is not working for me. Is it just me?

@chenkirk
Copy link
Author

Using @fred 's awesome pull request #80 to get Travis to run

@fred
Copy link

fred commented Jun 21, 2014

That's great @chenkirk, now just need to get all those specs passing in travis.

In my case I've totally scrapped filters and used MongoDB full text search instead. (mongo 2.6)
as a partial on the sidebar and modified scoped_collection to do search if applicable.

@fred
Copy link

fred commented Jun 21, 2014

I've created a gist on how I search on activeadmin using full mongodb text search
https://gist.github.com/fred/428316f4557ada56570e

@boie0025 boie0025 closed this Sep 14, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants