XM-Cloud-Introduction icon indicating copy to clipboard operation
XM-Cloud-Introduction copied to clipboard

Type and Year filters are not in sync

Open gauravpansari1991 opened this issue 1 year ago • 4 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://mvp.sitecore.com/en/Directory
  2. Click on Commerce Type Filter
  3. It shows filtered Year facets, select 2024 from the year filter
  4. It is showing 8 results for Technology and Ambassador MVPs
  5. Also it should not show other Type filters like Ambassador and Technology

Expected behavior 2024 doesn't have any commerce MVPs, so either we should hide 2024 or make it disable with zero count

Screenshots image

gauravpansari1991 avatar Mar 26 '24 11:03 gauravpansari1991

@gauravpansari1991 this result is actually again expected. The 8 people you're looking at were Commerce MVPs in the past and are MVP in 2024. So the combination of the facets isn't happening exactly as you expect (it evaluates people and all their titles, not titles separately)

@mrtamasvarga we discussed this shortly "what feels logical" how facets behave inside themselves and towards other facets. Do you believe this should change?

sc-ivanlieckens avatar Mar 26 '24 16:03 sc-ivanlieckens

@sc-ivanlieckens Makes sense, just for suggestion in this case we can show the Commerce Category as well in the profile while the facet is on.

gauravpansari1991 avatar Mar 26 '24 17:03 gauravpansari1991

@gauravpansari1991 I'm not sure I understand entirely what you mean by that? The profile always shows all titles and is a different page? Are you referring to the result cards?

sc-ivanlieckens avatar Apr 09 '24 07:04 sc-ivanlieckens

@sc-ivanlieckens Yeah I am referring to profile cards, sorry for the confusion. I just have a suggestion that we can also show the commerce category as a comma-separated category list in profile cards but it's a business decision.

gauravpansari1991 avatar Apr 18 '24 10:04 gauravpansari1991