**List of steps to reproduce** (step by step, including full links if applicable):
* Search train in MediaSearch from the Main Page so that you arrive at https://commons.wikimedia.org/w/index.php?search=train&title=Special:MediaSearch&go=Go
* Switch the tab to anything different
**What happens?**:
* You get "We didn't find any results Try more general terms or check your spelling"
* No API calls are being made when switching the tab
**What should have happened instead?**:
Upon clicking a new tab, MediaSearch should query the search and display the result.
**Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc**:
Firefox 93 in private browsing mode (aka logged out), Wikimedia Commons
Search results in a different tab appear only after reloading the page, or when changing a filter/sort. The bug only happens when you search from the search bar from outside of Special:MediaSearch, repeating the query inside Special:MediaSearch does not produce this bug.