sort fix again

This commit is contained in:
Harry Bomrah 2015-12-08 19:18:42 +08:00
parent 49ec846c38
commit 0b345a8377
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ class Experience
{
"pd_datas" => pd_data,
"type-sort" => (p.experience_type.sort_position rescue 1000),
"sort-index" => index.to_s
"type-sort" => (p.experience_type.sort_position.to_i rescue 1000),
"sort-index" => index
}
end