From 2e84756b0ecae52072a520c1a6aedf182850c7c3 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 24 Oct 2015 14:07:59 +0200 Subject: [PATCH] Keep *_id attributes for search backend (needed to ticket selector on search backend). --- app/models/application_model/search_index_base.rb | 3 --- 1 file changed, 3 deletions(-) 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