If a set of nested fieldsets (with "Hide if empty" enabled) contains only empty fields the "emptiness" does not propagate up from the lowest level fieldset to the highest. This results in empty fieldsets being displayed.
Take the following structure:
- Fieldset 1
- Empty field 1
- Fieldset 2
- Empty field 2
In this example "Fieldset 1" will be visible when the entire structure should actually be hidden. This is because "Fieldset 1" sees the empty "Fieldset 2" as content.
I have a patch on the way which I'm just doing some further testing with.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_fieldsets-hide-empty-nested-2530668-0.patch | 1.01 KB | morbiD |
Comments
Comment #1
morbiD commentedOk, this seems to work for me.
Comment #3
rudiedirkx commentedPerfect. Committed.
Will create a new release later.