Defect #7352

Filters not working in Gantt charts

Added by E M almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2011-01-17
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Gantt
Target version:1.2.0
Resolution:Fixed Affected version:

Description

If you log on the demo server (demo.redmine.org) and go to the overall Gantt Chart (projects -> view all issues -> Gantt), you can see the Gantt (truncated) for all projects.

Now if you click "add filter", select "Project" and choose any project, then click "Apply", the updated Gantt chart does not filter anything. It still shows all the projects.

Furthermore, clicking on the drop down "+" and doing a multiple selection in the list does not filter for these choices either.

It seems that other filters are not working either. For example, if you choose to filter for assignee and select one, the resulting Gantt is modified but does not seem to filter for the proper user.

This function is crucial for our installation to be able to filter for multiple/single projects and for assignee.

gantt.rb.patch Magnifier (2.42 KB) Etienne Massip, 2011-01-18 11:48

gantt.rb.patch Magnifier - v2 (2.22 KB) Etienne Massip, 2011-01-18 14:17


Related issues

Related to Redmine - Patch #7456: Gantt filters New 2011-01-26

Associated revisions

Revision 5077
Added by Jean-Philippe Lang almost 7 years ago

Gantt: do not ignore project filter (#7000, #7352), do not display empty projects/versions, and display shared versions used in other projects (#5817, #6476, #6604).

History

#1 Updated by Etienne Massip almost 7 years ago

This behavior makes sense as you are in a multi-project view.

To get a per-project Gantt display, you can select first the project (in projects list or by using the fast-access project combo) then go to the Gantt tab.

#2 Updated by E M almost 7 years ago

It filters just fine in the "Issues" view, even when viewing everything, but not in the Gantt view. So the behaviour should do the same filtering in Issue list or Gantt format, which it doesn't.

And if you select only one project, you cannot select a few projects, which is doable in the Issues view but once again not in the Gantt view.

No filter seems ot be working at all in the gantt view for all activities.

#3 Updated by Robert Gruendler almost 7 years ago

i can confirm that the filters are not working in the gantt charts here too (Redmine 1.1.0.devel.4732 (MySQL)).

#4 Updated by Etienne Massip almost 7 years ago

If I choose to filter on a specific assignee, the only issues displayed are the ones assigned to him, what about you (with devel) ?

By the way, I guess Gantt view should care especially about Project filter ; attached patch adds this consideration.

#5 Updated by Etienne Massip almost 7 years ago

Better one

#6 Updated by Dmit nitkin almost 7 years ago

Don't you plan to make patch that doesn't show projects on gantt when this projects don't have issues with assignee set in filter?

#7 Updated by Etienne Massip almost 7 years ago

This is kind of what is described in #7314 / #3814 (which should be reopened, imho)

Fixed version filter lacks an operator "status is".

#8 Updated by Etienne Massip almost 7 years ago

Could someone try this patch at #7456 ?

#9 Updated by Jean-Philippe Lang almost 7 years ago

  • Subject changed from Filters not working in Gantt charts (demo server) to Filters not working in Gantt charts
  • Category set to Gantt
  • Target version set to 1.2.0
  • Resolution set to Fixed

Filters fixed in r5077.

#10 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Closed

Also available in: Atom PDF