Defect #6671
openIn version detail page of a project that has sub-projects when you click on a category of a sub-project it opens a wrong page
0%
Description
In the version detail page of project with sub-projects for example 'http://redmine.example.org/projects/parent-project/versions/1' in the 'Issues by category' section it shows all categories of sub projects. But they link to the parent project issue list instead of their own projects.
For example if you have a catgory 'A' for version '1' of Project 'sp1' that is sub-project of 'parent-project' the links of 'A' hyperlink in 'Issues by category' is 'http://redmine.example.org/projects/parent-project/issues?category_id=1&fixed_version_id=1&set_filter=1' instead of 'http://redmine.example.org/projects/sp1/issues?category_id=1&fixed_version_id=1&set_filter=1' because the 'parent-project' does not have 'A' category with id '1' and so it shows all issues for that version instead of showing just issues of that category.