mirror of
https://github.com/redmine/redmine.git
synced 2025-11-09 14:56:01 +01:00
Updating custom fields does not trigger update to "updated_on" field in the customized object (#5354).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19541 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -146,6 +146,7 @@ module Redmine
|
||||
end
|
||||
self.custom_values = target_custom_values
|
||||
custom_values.each(&:save)
|
||||
touch if !saved_changes? && custom_values.any?(&:saved_changes?)
|
||||
@custom_field_values_changed = false
|
||||
true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user