Skip to content

search: share() streamSearch observable

Administrator requested to merge rn/fix-double-search-subscription into main

Created by: novoselrok

This PR fixes the search stream being initiated twice. Since the streamSearch observable is being subscribed twice, we have to share() it.

Test plan

  • Open a search results page
  • Open the network tab
  • Verify only one /search/stream request is recorded

Merge request reports

Loading