diff --git a/legal-api/src/legal_api/core/meta/filing.py b/legal-api/src/legal_api/core/meta/filing.py index 26995c573..a1f0899a1 100644 --- a/legal-api/src/legal_api/core/meta/filing.py +++ b/legal-api/src/legal_api/core/meta/filing.py @@ -656,7 +656,7 @@ class FilingMeta: # pylint: disable=too-few-public-methods def display_name(business: Business, filing: FilingStorage) -> Optional[str]: """Return the name of the filing to display on outputs.""" # if filing is imported from COLIN and has custom disaply name - if filing.meta_data and filing.meta_data.get('isLedgerPlaceholder') and\ + if filing.meta_data and\ (display_name := filing.meta_data.get('colinDisplayName')): return display_name # if there is no lookup