forked from saurabh/personal-experience
sort fix again
This commit is contained in:
parent
49ec846c38
commit
0b345a8377
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue