The problem with a hierical term set with identical label values in PnP Modern Search - solved!!

One the frequent contributors to the PnP Modern Search project, Josef Blüml, logged an issue in the repository regarding terms with the same label value being displayed in a wrong way. This was an easy bug to fix, but it got me thinking about who to deal with identical label values in general.
The example to the right shows the issue: We have a number of processes that each contains the same sub processes.
In the SharePoint List or Library this is not an issue as the Taxonomy picker and the Taxonomy search both shows the parent of the term in question:


However, in the PnP Modern Search Refiner and Results web part we have an issue, or actually a number of issues:
When using the Checkbox layout:

So two Peer Review options, but no indication which parent the two options has, so basicly useless !
When using the Hierichical Refiner:

At least it is now possible to deduct which Peer Review that is currently selected, but when the hierichy contains 50 or more terms then it gets tricky. Wouldn't it be great if the "selected value pill" in the top of the Refiner and the "current applied filter" in the Results web part showed the parent of the selected term?
That option has now been added to the Hierarachical Filter Settings and will be available from release 4.27.0

So now it is pretty clean which of the Peer Review options that we have selected:




Comments