Patch #39699 ยป custom_field.patch
app/models/custom_field.rb | ||
---|---|---|
263 | 263 |
end |
264 | 264 | |
265 | 265 |
def <=>(field) |
266 |
return nil unless field.is_a?(CustomField)
|
|
266 |
return nil unless field.is_a?(self.class)
|
|
267 | 267 | |
268 | 268 |
position <=> field.position |
269 | 269 |
end |