Skip to content

Commit

Permalink
Enabling match search on users/orgs username/mnemonic attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Mar 13, 2024
1 parent 8306f4b commit 98d69e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/orgs/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Django:

@staticmethod
def get_match_phrase_attrs():
return ['name']
return ['name', 'mnemonic']

@staticmethod
def get_exact_match_attrs():
Expand Down
2 changes: 1 addition & 1 deletion core/users/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Django:

@staticmethod
def get_match_phrase_attrs():
return ['name']
return ['username', 'name']

@staticmethod
def get_exact_match_attrs():
Expand Down

0 comments on commit 98d69e3

Please sign in to comment.