An error occurred while fetching issues.
Removing filter for label containing spaces breaks search
Summary
This bug was found when searching for "feature proposals" associated with another label. Removing the label containing a space doesn't remove it fully from the search. The query parameters still contain the label, but formatted incorrectly.
Steps to reproduce
- Create a new project
- Navigate to Issues > Labels view
- Create the following labels
- feature proposals
- wiki
- Create a new issue associated with both new labels
- Navigate to the Issues index
- Apply a filter for both new labels
- Remove the label containing a space
Expected behavior
Removing the label from the filter should show issues with the remaining filter
Actual behavior
No relevant issues are shown
Relevant logs and/or screenshots
N/A
Output of checks
Results of GitLab application Check
N/A Reproducible on GitLab.com
Results of GitLab environment info
N/A Reproducible on GitLab.com
Additional information
- Project exhibiting the problem (Remove 'feature proposal' label to reproduce the bug)