Index: app/views/gantts/show.html.erb
===================================================================
--- app/views/gantts/show.html.erb (revision 4171)
+++ app/views/gantts/show.html.erb (working copy)
@@ -23,13 +23,14 @@
<%= hidden_field_tag 'zoom', @gantt.zoom %>
<%= link_to_remote l(:button_apply),
- { :url => { :set_filter => (@query.new_record? ? 1 : nil) },
+ { :url => { :set_filter => (@query.new_record? ? 1 : nil), :project_id => @project },
:update => "content",
:with => "Form.serialize('query_form')"
}, :class => 'icon icon-checked' %>
<%= link_to_remote l(:button_clear),
- { :url => { :set_filter => (@query.new_record? ? 1 : nil) },
+ { :url => { :set_filter => (@query.new_record? ? 1 : nil), :project_id => @project },
+ :method => :get,
:update => "content",
}, :class => 'icon icon-reload' if @query.new_record? %>