From 31cecccdea559fb1f041576f7fc240f10b550f2b Mon Sep 17 00:00:00 2001 From: Caleb Godwin Date: Mon, 26 Aug 2024 17:12:07 -0400 Subject: [PATCH] Remove unused synonym property --- solution/backend/content_search/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/solution/backend/content_search/models.py b/solution/backend/content_search/models.py index ef13ad34e..68ffc7410 100644 --- a/solution/backend/content_search/models.py +++ b/solution/backend/content_search/models.py @@ -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)