Time report can be done at issue level (closes #970) + timelog views xhtml validation.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1319 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-04-01 22:42:10 +00:00
parent 043cb37b16
commit 467f74510e
7 changed files with 24 additions and 10 deletions
+5 -2
View File
@@ -45,7 +45,10 @@ class TimelogController < ApplicationController
:label => :label_tracker},
'activity' => {:sql => "#{TimeEntry.table_name}.activity_id",
:klass => Enumeration,
:label => :label_activity}
:label => :label_activity},
'issue' => {:sql => "#{TimeEntry.table_name}.issue_id",
:klass => Issue,
:label => :label_issue}
}
@criterias = params[:criterias] || []
@@ -196,7 +199,7 @@ private
render_404
end
# Retreive the date range based on predefined ranges or specific from/to param dates
# Retrieves the date range based on predefined ranges or specific from/to param dates
def retrieve_date_range
@free_period = false
@from, @to = nil, nil