From e52b732af1a470e6fa40ad026b507ca30cce3e64 Mon Sep 17 00:00:00 2001 From: Matt Riley Date: Thu, 12 Dec 2024 16:18:38 -0500 Subject: [PATCH] Updated Enterprise OData Report headers --- corehq/apps/enterprise/enterprise.py | 2 +- corehq/apps/enterprise/tests/test_enterprise.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/corehq/apps/enterprise/enterprise.py b/corehq/apps/enterprise/enterprise.py index adc90b72f8be..cafe33eb42db 100644 --- a/corehq/apps/enterprise/enterprise.py +++ b/corehq/apps/enterprise/enterprise.py @@ -358,7 +358,7 @@ def __init__(self, account, couch_user): @property def headers(self): - return [_('Project Space'), _('Report Names'), _('Number of rows')] + return [_('Project Space'), _('Name'), _('Number of Rows')] def total_for_domain(self, domain_obj): return self.export_fetcher.get_export_count(domain_obj.name) diff --git a/corehq/apps/enterprise/tests/test_enterprise.py b/corehq/apps/enterprise/tests/test_enterprise.py index 46a275685ce1..ebcc7b8eda1c 100644 --- a/corehq/apps/enterprise/tests/test_enterprise.py +++ b/corehq/apps/enterprise/tests/test_enterprise.py @@ -19,7 +19,7 @@ class EnterpriseODataReportTests(SimpleTestCase): def test_headers(self): report = self._create_report_for_domains() self.assertEqual(report.headers, [ - 'Project Space', 'Report Names', 'Number of rows', + 'Project Space', 'Name', 'Number of Rows', ]) def test_total_number_display_odata_reports_across_enterprise(self):