avo-hq/avo

Toggle off filters and search for has_many associations

Chiusa

#2035 aperta il 16 nov 2023

 (2 commenti) (0 reazioni) (0 assegnatari)Ruby (308 fork)user submission
DSL-relatedEnhancementGood first issueTask

Metriche repository

Star
 (1778 stelle)
Metriche merge PR
 (Merge medio 1g 6h) (67 PR mergiate in 30 g)

Descrizione

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

Guida contributor