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

Customize search field #1315

Closed
8vius opened this issue Apr 12, 2019 · 3 comments
Closed

Customize search field #1315

8vius opened this issue Apr 12, 2019 · 3 comments
Labels
bug breakages in functionality that is implemented search finding things through our models

Comments

@8vius
Copy link

8vius commented Apr 12, 2019

Currently having an issue with my search field showing up like this:

Screen Shot 2019-04-12 at 5 25 00 PM

Was wondering if there was a way to generate the view for the search partial to modify it and see what's up with it.

@Afoster2
Copy link

Afoster2 commented May 2, 2019

I'm having the same issue as above.

@nacengineer
Copy link
Contributor

Note you can add a partial in views / admin / application called _search.html.erb and that will be used. If you copy the info from this partial https://github.com/thoughtbot/administrate/blob/master/app/views/administrate/application/_search.html.erb you'll get the default search bar.

@nickcharlton nickcharlton added bug breakages in functionality that is implemented search finding things through our models labels Jan 2, 2020
@nickcharlton
Copy link
Member

It's been a long time, so I'm going to assume the specific issue has been solved. We'll document this better in #1778 and onwards as for how you override things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug breakages in functionality that is implemented search finding things through our models
Projects
None yet
Development

No branches or pull requests

4 participants