diff --git a/app/models/experience.rb b/app/models/experience.rb index ed5df74..5e1dc9c 100644 --- a/app/models/experience.rb +++ b/app/models/experience.rb @@ -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