From: Jean-Philippe Lang Date: Tue, 21 Oct 2014 17:47:18 +0000 (+0000) Subject: Fixed test failure with SQLServer introduced by r13461. X-Git-Tag: 3.0.0~493 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=51508f67d0cc716d665d8a32ac3bffdf7af44ea4;p=redmine.git Fixed test failure with SQLServer introduced by r13461. git-svn-id: http://svn.redmine.org/redmine/trunk@13467 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/issue.rb b/app/models/issue.rb index 05282faa1..8fb1935f0 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1229,9 +1229,10 @@ class Issue < ActiveRecord::Base count. map do |columns, total| status_id, is_closed, field_value = columns + is_closed = ['t', 'true', true].include?(is_closed) { "status_id" => status_id.to_s, - "closed" => is_closed.to_s, + "closed" => is_closed, select_field => field_value.to_s, "total" => total.to_s }