Commit 0d51644f15cb847928f18a6d9c39b11ce43a85c7

Authored by Andrey Karpikov
1 parent 1db64732

check sorting

... ... @@ -80,7 +80,7 @@ module Kanjai
80 80 if subpart
81 81 markers_position = {}
82 82 subpart.field_options.sort_by{|item| item[:itemName] }.each_with_index do |item, index|
83   - markers_position[item[:itemName]] = index + 1
  83 + markers_position[item[:name]] = index + 1
84 84 end
85 85
86 86 return markers.sort{|a,b| (markers_position[a.marker] <=> markers_position[b.marker] ) }
... ...
1 1 module Kanjai
2   - VERSION = "0.0.248"
  2 + VERSION = "0.0.249"
3 3 end
... ...