mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-19 01:52:00 +00:00
Custom query breaks calendar view with error 500 (#27153).
Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@17155 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
27cd7f478b
commit
747e183a6b
@ -39,6 +39,7 @@ class CalendarsController < ApplicationController
|
||||
@calendar = Redmine::Helpers::Calendar.new(Date.civil(@year, @month, 1), current_language, :month)
|
||||
retrieve_query
|
||||
@query.group_by = nil
|
||||
@query.sort_criteria = nil
|
||||
if @query.valid?
|
||||
events = []
|
||||
events += @query.issues(:include => [:tracker, :assigned_to, :priority],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user