Group terms with common parents

Created on 13 March 2019, over 5 years ago
Updated 7 March 2024, 4 months ago

If I have a taxonomy hierarchy, I would like to be able to display terms with their parents, but not repeat the parent terms when displaying multiple children in sequence.

For example, given the taxonomy:

- Parent A
-- Child I
-- Child II
-- Child III
- Parent B
-- Child IV
-- Child IV
-- Child VI
- Parent C
-- Child VII
-- Child VIII
-- Child IX

and a node containing a field with the values "Child II", "Child III", and "Child IX", I would like to display:

- Parent A
-- Child II
-- Child III
- Parent C
-- Child IX
✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jlicht

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024