Added tags to get indexed for search.
This commit is contained in:
parent
848c526d09
commit
47841fbbac
1 changed files with 7 additions and 0 deletions
|
@ -35,6 +35,13 @@ returns
|
|||
next if value != true
|
||||
attributes.delete( key.to_s )
|
||||
}
|
||||
|
||||
# add tags
|
||||
tags = Tag.tag_list( :object=> 'Ticket', :o_id => self.id )
|
||||
if tags && !tags.empty?
|
||||
attributes[:tag] = tags
|
||||
end
|
||||
|
||||
attributes = search_index_attribute_lookup( attributes, self )
|
||||
|
||||
# add article data
|
||||
|
|
Loading…
Reference in a new issue