Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1645 | Source/Collection | canonical_url is…
Browse files Browse the repository at this point in the history
… searchable by phrase
  • Loading branch information
snyaggarwal committed Aug 8, 2023
1 parent 2281dd2 commit 335511f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/collections/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Django:

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

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

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

@staticmethod
def get_exact_match_attrs():
Expand Down

0 comments on commit 335511f

Please sign in to comment.