top of page

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

Writer: Kasper Larsen
Kasper Larsen
6 hours ago
1 min read


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:



 
 
 

Recent Posts

See All
Dashboard in PnP Modern Search

I have a service that monitors what people are writting about Modern Search and Matthew Both "dared" in https://lnkd.in/p/e5Gekgfd to claim that setting up a Modern Search page can be tedious at times

 
 
 

Comments


30103817

  • Twitter
  • LinkedIn

©2023 by M365thinking. Proudly created with Wix.com

bottom of page