Skip to content

Commit

Permalink
Remove unused synonym property
Browse files Browse the repository at this point in the history
  • Loading branch information
cgodwin1 committed Aug 26, 2024
1 parent 3d394e4 commit 31ceccc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions solution/backend/content_search/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ class Synonym(models.Model):
def __str__(self):
return self.base_word if self.is_active else f'{self.base_word} (inactive)'

@property
def filtered_synonyms(self):
return self.synonyms.filter(is_active=True).order_by("base_word")


class ContentIndexQuerySet(models.QuerySet):
_text_max = int(settings.SEARCH_HEADLINE_TEXT_MAX)
Expand Down

0 comments on commit 31ceccc

Please sign in to comment.