Also take origin_by_id for article assets.
This commit is contained in:
parent
586d47a41f
commit
626c116679
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ returns
|
|||
data[ app_model_article ][ id ] = attributes_with_association_ids
|
||||
end
|
||||
|
||||
%w(created_by_id updated_by_id).each { |local_user_id|
|
||||
%w(created_by_id updated_by_id origin_by_id).each { |local_user_id|
|
||||
next if !self[ local_user_id ]
|
||||
next if data[ app_model_user ] && data[ app_model_user ][ self[ local_user_id ] ]
|
||||
user = User.lookup(id: self[ local_user_id ])
|
||||
|
|
Loading…
Reference in a new issue