acts_as_customizable.rb.patch

Pavel Rosick√Ĺ, 2019-01-18 19:50

Download (770 Bytes)

View differences:

acts_as_customizable.rb (working copy)
27 27
          return if self.included_modules.include?(Redmine::Acts::Customizable::InstanceMethods)
28 28
          cattr_accessor :customizable_options
29 29
          self.customizable_options = options
30
          has_many :custom_values, lambda {includes(:custom_field).order("#{CustomField.table_name}.position")},
30
          has_many :custom_values, lambda {includes(:custom_field)},
31 31
                                   :as => :customized,
32 32
                                   :inverse_of => :customized,
33 33
                                   :dependent => :delete_all,