mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-26 12:55:38 +08:00
Merge branch 'master' into develop
This commit is contained in:
@@ -251,7 +251,7 @@ def create_search_index():
|
||||
|
||||
search_profile['fullyQualifiedName'] = user['fqu']
|
||||
search_profile['username'] = user['username']
|
||||
usernames.append(user['username'])
|
||||
usernames.append(user['fqu'])
|
||||
|
||||
search_profile['profile'] = profile
|
||||
search_profiles.save(search_profile)
|
||||
|
||||
@@ -223,7 +223,7 @@ def fetch_profiles(search_results, search_type="name"):
|
||||
response = search_profiles.find({"twitter_handle": search_result})
|
||||
|
||||
elif search_type == 'username':
|
||||
response = search_profiles.find({"username": search_result})
|
||||
response = search_profiles.find({"fullyQualifiedName": search_result})
|
||||
|
||||
for result in response:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user