##// END OF EJS Templates
Fixed: error raised when trying to view the gantt or calendar with a grouped query (#4751)....
Jean-Philippe Lang -
r3265:eac7fcff6ef6
parent child
Show More
@@ -387,6 +387,7 class IssuesController < ApplicationController
387 387 def gantt
388 388 @gantt = Redmine::Helpers::Gantt.new(params)
389 389 retrieve_query
390 @query.group_by = nil
390 391 if @query.valid?
391 392 events = []
392 393 # Issues that have start and due dates
@@ -426,6 +427,7 class IssuesController < ApplicationController
426 427
427 428 @calendar = Redmine::Helpers::Calendar.new(Date.civil(@year, @month, 1), current_language, :month)
428 429 retrieve_query
430 @query.group_by = nil
429 431 if @query.valid?
430 432 events = []
431 433 events += @query.issues(:include => [:tracker, :assigned_to, :priority],
General Comments 0
You need to be logged in to leave comments. Login now