1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

Fixed test failure with SQLServer introduced by r13461.

git-svn-id: http://svn.redmine.org/redmine/trunk@13467 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-10-21 17:47:18 +00:00
parent 78120536b1
commit 51508f67d0

View File

@ -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
}