Improved clode layout.
This commit is contained in:
parent
7ae3fbbc11
commit
771a56f618
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@ returns
|
|||
|
||||
# try search index backend
|
||||
if SearchIndexBackend.enabled?
|
||||
items = SearchIndexBackend.search( query, limit, 'User' )
|
||||
items = SearchIndexBackend.search(query, limit, 'User')
|
||||
users = []
|
||||
items.each { |item|
|
||||
users.push User.lookup( id: item[:id] )
|
||||
users.push User.lookup(id: item[:id])
|
||||
}
|
||||
return users
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue