Merged r2643 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2653 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-04-05 12:09:59 +00:00
parent aa38f755c6
commit e28b5e1f08
2 changed files with 6 additions and 1 deletions

View File

@ -35,7 +35,11 @@ module TimelogHelper
end
def select_hours(data, criteria, value)
data.select {|row| row[criteria] == value}
if value.to_s.empty?
data.select {|row| row[criteria].blank? }
else
data.select {|row| row[criteria] == value}
end
end
def sum_hours(data)

View File

@ -20,6 +20,7 @@ http://www.redmine.org/
* Fixed: News summary field content is not searchable
* Fixed: Journal#save has a wrong signature
* Fixed: Email footer signature convention
* Fixed: Timelog report do not show time for non-versioned issues
== 2009-03-07 v0.8.2