LSCOIT / LegalNavigator

Phase 3 Access2Justice continued
Creative Commons Attribution 4.0 International
9 stars 3 forks source link

Breadcrumb is not displaying correctly in UI #649

Open aroubin opened 5 years ago

aroubin commented 5 years ago

From @turpu-rakesh on November 9, 2018 8:3

Domestic Violence is mapped to two topics Family and Abuse & Harassment, if we click on Domestic Violence which is displaying under Abuse & Harassment it navigating to Domestic Violence but in breadcrumb it is displaying topic as family. Below are the screenshots for the same.

screenshot 1 image

screenshot 2 image

Copied from original issue: Microsoft/Access2Justice#787

aroubin commented 5 years ago

@amitabhm21 - if topic has two parents, it will pick up the first parent (current behavior). Proposed change - detect most appropriate parent topic depending on where user came from. What do you suggest?