Commit a2b25205 authored by jplang's avatar jplang

Fixed test failure with MySQL introduced by r13467.

git-svn-id: https://svn.redmine.org/redmine/trunk@13468 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e5ac2436
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment