From: Jean-Philippe Lang Date: Fri, 30 Apr 2010 12:18:11 +0000 (+0000) Subject: Fixes time report with JRuby (#5404). X-Git-Tag: 1.0.0~115 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=663f0c83b267cccb109bc2f8bccffd911c0dc121;p=redmine.git Fixes time report with JRuby (#5404). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3708 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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