Quick searches produce a 404 in subgroups
- Backend weight: 1
- Frontend weight: ?
Summary
When selecting from the quick choices for search, for example, "Issues assigned to me" when navigating within a subgroup, the user is given a 404 because the namespace is not included in the new URL.
Steps to reproduce
- Navigate to a subgroup: https://gitlab.com/gitlab-org/gitter
- Search, then select "Incidents assigned to me"
Example Project
See reproduction steps.
What is the current bug behavior?
A 404 page is presented (unless there is a top-level group with the same name, or the subgroup was moved from it's own namespace (which shows the rename message)).
What is the expected correct behavior?
Search results, even with 0 results.
Relevant logs and/or screenshots
Choosing "Incidents assigned to me" redirects to: https://gitlab.com/groups/gitter/-/issues/?assignee_id=xxxxxxx , which 404s.
Output of checks
This bug happens on GitLab.com
Possible fixes
Include path_with_namespace
in the target URL.
Edited by Darva Satcher