Skip to content

Unselected advanced search facets not loading after search term entered

Summary

When I run a search from the modal and then land on the advanced search screen, I only see results in the facets for Issues (the default result type). If I click on other search types, their result counts show up and then all the others are zero (including issues):

2023-10-15 - 14.06.14 - screenshot.gif

Steps to reproduce

  1. Run a text search from the command palette/global search modal
  2. Click on any facet and see that its count displays when selected but not when it's no longer selected

What is the current bug behavior?

See GIF in summary section

What is the expected correct behavior?

Facets should be populated with results when a search term is entered, even if they aren't selected

Relevant logs and/or screenshots

See GIF in Summary

Possible fixes