Fixed comments.
This commit is contained in:
parent
9c171cce69
commit
2a4467f5b2
2 changed files with 2 additions and 1 deletions
|
@ -47,6 +47,7 @@ returns
|
||||||
attributes.delete(key)
|
attributes.delete(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# add org member for search index data
|
||||||
attributes['member'] = []
|
attributes['member'] = []
|
||||||
users = User.where( :organization_id => self.id )
|
users = User.where( :organization_id => self.id )
|
||||||
users.each { |user|
|
users.each { |user|
|
||||||
|
|
|
@ -4,7 +4,7 @@ module Ticket::SearchIndex
|
||||||
|
|
||||||
=begin
|
=begin
|
||||||
|
|
||||||
log activity for this object
|
build and send data for search index to backend
|
||||||
|
|
||||||
ticket = Ticket.find(123)
|
ticket = Ticket.find(123)
|
||||||
result = ticket.search_index_update_backend
|
result = ticket.search_index_update_backend
|
||||||
|
|
Loading…
Reference in a new issue