From 663f0c83b267cccb109bc2f8bccffd911c0dc121 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 30 Apr 2010 12:18:11 +0000 Subject: [PATCH] Fixes time report with JRuby (#5404). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3708 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/timelog_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb index cd2bcf685..d314a96f4 100644 --- a/app/helpers/timelog_helper.rb +++ b/app/helpers/timelog_helper.rb @@ -57,7 +57,7 @@ module TimelogHelper if value.to_s.empty? data.select {|row| row[criteria].blank? } else - data.select {|row| row[criteria] == value} + data.select {|row| row[criteria].to_s == value.to_s} end end -- 2.39.5