Defect #7000
closedProject filter not applied on versions in Gantt chart
0%
Description
Redmine Version 1.0.4
I have versions which have Not shared set on them. This works correctly for things like adding new issues (I cannot add an issue to a version that is not shared with that project). However when I construct a view of an issue list which uses a project filter, the Gantt chart for that view includes all the versions across the entire install of Redmine regardless of the sharing settings.
For example:
Project 1 has Version 1 and Version 2
Project 2 has Version 3 and Version 4
If I construct a filter which says "All issues that are not in Project 2" I get all the issues filtered correctly but all four versions are shown in the Gantt chart.
I know that the Gantt rewrite for 1.1.0 is imminent but this issue seems like it should be fairly simple to correct (unfortunately I don't know Ruby well enough to understand how to do it myself). It looks like it just needs something added to the filter on line 32 of the gantt controller (http://www.redmine.org/projects/redmine/repository/entry/tags/1.0.4/app/controllers/gantts_controller.rb#L32)
Is there any chance of someone looking at whether this could be fixed with a simple fix to the version filter, please?
Files
Related issues