Enable the `in this group` action in the Search dropdown
What does this MR do?
This MR adds the in this group
search action on the navigation search bar in all contexts where a group
might be present.
Previously, you would have to be on a Group's page to see this action
available.
With this commit, the action will also be present when a project is owned by a Group.
This also fixes an issue where the dropdown would close whenever there are no results from the autocomplete, which defeated the purpose of having these actions in the first place.
Screenshots
Searching on a project's page
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers - [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Issue #213597 (closed)
Edited by 🤖 GitLab Bot 🤖