Fix search loading issue when switching screen
Description
When results are displayed after a search, when we go back to Home or Categories, and come back to the search, the search fragment is looping indefinitely.
We should either display the search placeholder or display results of the search again.
Screenshot
Screen_recording_20231023_111027
Screen_recording_20231022_222209
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/1628
10 commandments of code reviews
Edited by Nishant D