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

Give filters field more concise #1

Open
retsef opened this issue Mar 28, 2022 · 1 comment
Open

Give filters field more concise #1

retsef opened this issue Mar 28, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@retsef
Copy link
Owner

retsef commented Mar 28, 2022

I'm using ransack filters from 'administrate_ransack' for replicate the solidus_backend fields search functionality.

At this moment the choosing of witch filter fender for witch field is made with a switch case in the _filters.html.erb.
I think it need to be moved to a render_filter field approach to be concise with the administrate approach.

@retsef retsef added the enhancement New feature or request label Mar 28, 2022
@retsef retsef self-assigned this Mar 28, 2022
@retsef
Copy link
Owner Author

retsef commented Apr 22, 2022

Some progress are made with filters_helper.rb but its better to render as a Field::Class like

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant