]> source.dussan.org Git - redmine.git/commitdiff
Fixes time report with JRuby (#5404).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 12:18:11 +0000 (12:18 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 12:18:11 +0000 (12:18 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3708 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/timelog_helper.rb

index cd2bcf685bc9705151376f98716abce400b04aea..d314a96f40f0b6bc099b67586799b378b280c968 100644 (file)
@@ -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