Number of open issues shown on Labels page even if Issues disabled in project
Summary
I have a project in which Issues are disabled, but Merge Requests are enabled.
On the Labels page it still shows "0 open issues" for each label.
This text is a link which when followed leads to the 404 page.
I did not expect the text to show up.
Occurs both on local CE 8.10.5 as on GitLab.com.
Steps to Reproduce
- Create a new project
- Disable Issues feature in the Project Settings
- Navigate to Merge Requests > Labels
- Generate the Default label set
Actual Results
- Notice that for each label the number of open issues is displayed
- Clicking the link to follow through to the labels results in a 404
Expected Results
- This link (to open issues for the label) is not displayed
Additional Detail
- Project exhibiting the problem: https://gitlab.com/issue-reproduce/disabled-issues-project/labels