Skip to content

Commit

Permalink
org | mnemonic case insensitive search by default
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Dec 29, 2020
1 parent e23a421 commit c505be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/orgs/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class Index:

last_update = fields.DateField(attr='updated_at')
public_can_view = fields.BooleanField(attr='public_can_view')
name = fields.KeywordField(attr='name')
mnemonic = fields.KeywordField(attr='mnemonic')
name = fields.KeywordField(attr='name', normalizer="lowercase")
mnemonic = fields.KeywordField(attr='mnemonic', normalizer="lowercase")
extras = fields.ObjectField()
user = fields.ListField(fields.KeywordField())

Expand Down

0 comments on commit c505be0

Please sign in to comment.