1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

Fixed test failure with MySQL introduced by r13467.

git-svn-id: http://svn.redmine.org/redmine/trunk@13468 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-10-21 18:44:33 +00:00
parent 51508f67d0
commit b01c740980

View File

@ -1229,7 +1229,7 @@ class Issue < ActiveRecord::Base
count.
map do |columns, total|
status_id, is_closed, field_value = columns
is_closed = ['t', 'true', true].include?(is_closed)
is_closed = ['t', 'true', '1'].include?(is_closed.to_s)
{
"status_id" => status_id.to_s,
"closed" => is_closed,