summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/timelog_helper.rb6
-rw-r--r--doc/CHANGELOG1
2 files changed, 6 insertions, 1 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index f068b4db8..88a4cd85e 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -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)
diff --git a/doc/CHANGELOG b/doc/CHANGELOG
index 5ffacce0c..16e1bab88 100644
--- a/doc/CHANGELOG
+++ b/doc/CHANGELOG
@@ -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