diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-21 13:03:22 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-21 13:03:22 +0000 |
commit | 4599ca00aa0ae3fd663a26e922dd36ae9b31ed5a (patch) | |
tree | cd2ba278ea6787b3450cd4b509ac32bc0f90f1ee /app | |
parent | b9f88d8aa0597bf6676003207cadd231bfd2b70a (diff) | |
download | redmine-4599ca00aa0ae3fd663a26e922dd36ae9b31ed5a.tar.gz redmine-4599ca00aa0ae3fd663a26e922dd36ae9b31ed5a.zip |
fix source indent of CalendarsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20056 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/calendars_controller.rb | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index 56f5207b4..ef5f3956f 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -44,16 +44,22 @@ class CalendarsController < ApplicationController @query.sort_criteria = nil if @query.valid? events = [] - events += @query.issues( - :include => [:tracker, :assigned_to, :priority], - :conditions => ["((start_date BETWEEN ? AND ?) OR (due_date BETWEEN ? AND ?))", - @calendar.startdt, @calendar.enddt, - @calendar.startdt, @calendar.enddt] - ) - events += @query.versions( - :conditions => ["effective_date BETWEEN ? AND ?", - @calendar.startdt, @calendar.enddt] - ) + events += + @query.issues( + :include => [:tracker, :assigned_to, :priority], + :conditions => [ + "((start_date BETWEEN ? AND ?) OR (due_date BETWEEN ? AND ?))", + @calendar.startdt, @calendar.enddt, + @calendar.startdt, @calendar.enddt + ] + ) + events += + @query.versions( + :conditions => [ + "effective_date BETWEEN ? AND ?", + @calendar.startdt, @calendar.enddt + ] + ) @calendar.events = events end |