Project

General

Profile

Patch #39699 ยป custom_field.patch

Alexander Meindl, 2023-11-22 19:59

View differences:

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
    (1-1/1)