|
|
|
@ -40,7 +40,7 @@ class RbCalendarsController < RbApplicationController |
|
|
|
|
end |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
open_issues = " |
|
|
|
|
open_issues = %Q[ |
|
|
|
|
#{IssueStatus.table_name}.is_closed = ? |
|
|
|
|
and tracker_id in (?) |
|
|
|
|
and fixed_version_id in ( |
|
|
|
@ -51,8 +51,8 @@ class RbCalendarsController < RbApplicationController |
|
|
|
|
and not sprint_start_date is null |
|
|
|
|
and effective_date >= ? |
|
|
|
|
) |
|
|
|
|
" |
|
|
|
|
open_issues_and_impediments = " |
|
|
|
|
] |
|
|
|
|
open_issues_and_impediments = %Q[ |
|
|
|
|
(assigned_to_id is null or assigned_to_id = ?) |
|
|
|
|
and |
|
|
|
|
( |
|
|
|
@ -66,7 +66,7 @@ class RbCalendarsController < RbApplicationController |
|
|
|
|
where #{open_issues}) |
|
|
|
|
) |
|
|
|
|
) |
|
|
|
|
" |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
conditions = [open_issues_and_impediments] |
|
|
|
|
# me or none |
|
|
|
@ -114,4 +114,4 @@ class RbCalendarsController < RbApplicationController |
|
|
|
|
cal.to_ical |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|