Patch #30465 » acts_as_customizable.rb.patch
| 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, |