Commit 3770e404 authored by jplang's avatar jplang

Test failure.

git-svn-id: https://svn.redmine.org/redmine/trunk@10518 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent c3c2598f
......@@ -70,7 +70,7 @@ class QueryCustomFieldColumn < QueryColumn
end
def value(issue)
cv = issue.custom_values.select {|v| v.custom_field_id == @cf.id}.collect {|v| @cf.cast_value(v.value)}
cv = issue.custom_values.select {|v| v.custom_field_id == @cf.id}.collect {|v| @cf.cast_value(v.value)}.sort {|a,b| a.to_s <=> b.to_s}
cv.size > 1 ? cv : cv.first
end
......
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