"filters above" missing in group MR search if 0 open MRs
Summary
If you try searching for merge requests in a group, and you get 0 results, the top bar with filters, number of MRs, etc disappears.
For example at the group level: https://gitlab.com/groups/gitlab-org/-/merge_requests?milestone_title=1.0
This seems to work fine at the project level: https://gitlab.com/gitlab-org/gitlab/-/merge_requests?milestone_title=1.0
And for issues at the group level: https://gitlab.com/groups/gitlab-org/-/issues?scope=all&state=opened&milestone_title=1.0
Steps to reproduce
- Go to this link: https://gitlab.com/groups/gitlab-org/-/merge_requests?milestone_title=1.0 (assuming the milestone in question has no open MRs)
- Notice there is no "filters above" like the message says: "To widen your search, change or remove filters above"
What is the current bug behavior?
The top bar with filters, number of MRs, etc does not show up.
What is the expected correct behavior?
I would expect a top bar similar to these other examples:
MRs at project level: https://gitlab.com/gitlab-org/gitlab/-/merge_requests?milestone_title=1.0
issues at group level: https://gitlab.com/groups/gitlab-org/-/issues?scope=all&state=opened&milestone_title=1.0
Relevant logs and/or screenshots
Output of checks
This happens on GitLab.com
Possible fixes
Don't know.