Problem/Motivation

In addition to the selected term of a hierarchical facet I want to show its siblings to be able to select a sibling without the need to deselect the current term or to select the parent term first.

This is comparable to the behavior of a classic "hierarchical menu".

Proposed resolution

Add a ShowSiblingsProcessor.

Remaining tasks

Write tests.

User interface changes

none

API changes

Added HierarchyInterface::getSiblingIds(), but without BC break.

Data model changes

none

Issue fork facets-3190111

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mkalkbrenner created an issue. See original summary.

borisson_’s picture

Status: Active » Fixed

Merged in gitlab, thanks @mkalkbrenner!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.