diff --git a/peachjam/models/generic_document.py b/peachjam/models/generic_document.py index f8019437f..acb7b411a 100644 --- a/peachjam/models/generic_document.py +++ b/peachjam/models/generic_document.py @@ -105,7 +105,7 @@ def search_penalty(self): @property def commenced(self): - return bool(self.metadata_json.get("commencement_date", None)) + return self.metadata_json.get("commenced", None) def apply_labels(self): labels = list(self.labels.all())