Revision 13468
Added by Jean-Philippe Lang over 10 years ago
trunk/app/models/issue.rb | ||
---|---|---|
1229 | 1229 |
count. |
1230 | 1230 |
map do |columns, total| |
1231 | 1231 |
status_id, is_closed, field_value = columns |
1232 |
is_closed = ['t', 'true', true].include?(is_closed)
|
|
1232 |
is_closed = ['t', 'true', '1'].include?(is_closed.to_s)
|
|
1233 | 1233 |
{ |
1234 | 1234 |
"status_id" => status_id.to_s, |
1235 | 1235 |
"closed" => is_closed, |
Also available in: Unified diff
Fixed test failure with MySQL introduced by r13467.