Skip to content

Commit

Permalink
Merge pull request #162 from CDLUC3/stage
Browse files Browse the repository at this point in the history
Updating the identifier search query to utilized the collation index …
  • Loading branch information
rushirajnenuji authored Oct 27, 2021
2 parents e322199 + 251c8d5 commit 172a7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/search_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def formulateQuery(
v = "doi:" + v
if v == None:
v = value
filters.append(django.db.models.Q(identifier__startswith=v))
filters.append(django.db.models.Q(identifier__istartswith=v))
elif column == "identifierType":
if isinstance(value, basestring):
value = [value]
Expand Down

0 comments on commit 172a7ac

Please sign in to comment.