Collection grouping enabled by default
Is your feature request related to a problem? Please describe.
I created two collections: sections and articles. Each article must be assigned to a section. For convenience, I added in the config
view_groups:
- label: Section
field: section
I would like to always open the list with a grouping selected.
Describe the solution you'd like
Ideally, I could configure a default selection so that initially when the list opens, the entries are grouped
view_groups:
- label: Section
field: section
default: true
It would be logical that only one view group can have default property or that last wins
Describe alternatives you've considered
I noticed that the selected group is preserved on navigation but not after full page reload.
A simpler solution could keep the chosen group in local storage so that it's applied after refreshing the page
@tpluscode please update issue title
Lol, that's embarrassing. SOrry