avo-hq/avo

Toggle off filters and search for has_many associations

Open

#2,035 opened on Nov 16, 2023

 (2 comments) (0 reactions) (0 assignees)Ruby (308 forks)user submission
DSL-relatedEnhancementGood first issueTask

Repository metrics

Stars
 (1,778 stars)
PR merge metrics
 (Avg merge 1d 6h) (67 merged PRs in 30d)

Description

You may not want to allow the users to search or filter records on the has_many, but leave the search on the Index view.

### Approach
- [ ] Add a `features` option on the `has_many` that is a hash
- [ ] The hash should take `filters: Boolean`, `dynamic_filters: Boolean` or `search: Boolean` options
- [ ] Those options should toggle on/off those features on has many

Contributor guide