What does this MR do?
Returns the search controller method after finding the project & group.
Why was this MR needed?
The search controller was returning early when the search term was empty causing a bug where the dropdown toggles wouldn't show the correct text - instead defaulting to
Screenshots (if relevant)
What are the relevant issue numbers?
Closes #21783 (closed)