@@ -35,7 +35,11 module TimelogHelper | |||
|
35 | 35 | end |
|
36 | 36 | |
|
37 | 37 | def select_hours(data, criteria, value) |
|
38 | data.select {|row| row[criteria] == value} | |
|
38 | if value.to_s.empty? | |
|
39 | data.select {|row| row[criteria].blank? } | |
|
40 | else | |
|
41 | data.select {|row| row[criteria] == value} | |
|
42 | end | |
|
39 | 43 | end |
|
40 | 44 | |
|
41 | 45 | def sum_hours(data) |
@@ -20,6 +20,7 http://www.redmine.org/ | |||
|
20 | 20 | * Fixed: News summary field content is not searchable |
|
21 | 21 | * Fixed: Journal#save has a wrong signature |
|
22 | 22 | * Fixed: Email footer signature convention |
|
23 | * Fixed: Timelog report do not show time for non-versioned issues | |
|
23 | 24 | |
|
24 | 25 | |
|
25 | 26 | == 2009-03-07 v0.8.2 |
General Comments 0
You need to be logged in to leave comments.
Login now