diff --git a/app/models/application_model/search_index_base.rb b/app/models/application_model/search_index_base.rb index 01a2c0eea..a657bd065 100644 --- a/app/models/application_model/search_index_base.rb +++ b/app/models/application_model/search_index_base.rb @@ -122,9 +122,6 @@ returns # save name of ref object attributes_new[ attribute_name ] = value - if !keep_attributes[ attribute_name_with_id.to_sym ] - attributes.delete(key) - end } attributes_new.merge(attributes) end