Search malfunction when categories is displayed instead of listings

I understand how it works now and it’s fine like that but in regards to the search bar at the top, I would prefer if it could act the way it acts in the home page.

If a keyword is searched I would prefer it search all categories and display the results from all categories…

However the categories icons can be used to search a particular category if clicked on as normal
Do you understand ?