]> source.dussan.org Git - redmine.git/commitdiff
Merged r3379 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Feb 2010 11:58:42 +0000 (11:58 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Feb 2010 11:58:42 +0000 (11:58 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3387 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index 43e0b5a2363369a6c87da378fa8c709f3e3409ce..914dc84003f3d5df13538a9f04bc033a3af408dc 100644 (file)
@@ -359,6 +359,7 @@ class IssuesController < ApplicationController
   def gantt
     @gantt = Redmine::Helpers::Gantt.new(params)
     retrieve_query
+    @query.group_by = nil
     if @query.valid?
       events = []
       # Issues that have start and due dates
@@ -398,6 +399,7 @@ class IssuesController < ApplicationController
     
     @calendar = Redmine::Helpers::Calendar.new(Date.civil(@year, @month, 1), current_language, :month)
     retrieve_query
+    @query.group_by = nil
     if @query.valid?
       events = []
       events += @query.issues(:include => [:tracker, :assigned_to, :priority],