Accordion grouping setting not persisting

Created on 4 April 2025, 20 days ago

Problem/Motivation

I set the 'Accordion grouping' to 'Accordion content by grouped field' (first screenshot). After applying the settings and clicking the 'settings' link again, the previously selection is not shown - it defaults back to the 'One accordion item per result' option (second screenshot).

The selection was actually saved, but just not loaded when the settings modal is redisplayed.

Saving the view does make the setting persist.

Steps to reproduce

1) For a Views Bootstrap display with format 'Bootstrap Accordion' click the format settings link
2) In the settings modal, select 'Accordion content by grouped field' for the Accordion grouping
3) Click Apply
4) Click the format settings link again
5) The Accordion grouping setting made previously is not loaded - the default One accordion item per result' option is selected

Proposed resolution

I will troubleshoot further when I have time.

πŸ› Bug report
Status

Active

Version

5.5

Component

Accordion

Created by

πŸ‡ΊπŸ‡ΈUnited States shaunlaws

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024