From 2c38b1adce17496381164c7ebce15accefd2fdbe Mon Sep 17 00:00:00 2001 From: abram axel booth Date: Mon, 9 Sep 2024 17:40:28 -0400 Subject: [PATCH] fix: large counts, exact names --- osf/metrics/reports.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osf/metrics/reports.py b/osf/metrics/reports.py index 7d37b1998c0..cd85471cf81 100644 --- a/osf/metrics/reports.py +++ b/osf/metrics/reports.py @@ -236,8 +236,8 @@ class InstitutionalUserReport(MonthlyReport): institution_id = metrics.Keyword() # user info: user_id = metrics.Keyword() - user_name = metrics.Text() - department_name = metrics.Text() + user_name = metrics.Keyword() + department_name = metrics.Keyword() month_last_login = YearmonthField() account_creation_date = YearmonthField() orcid_id = metrics.Keyword() @@ -247,5 +247,5 @@ class InstitutionalUserReport(MonthlyReport): public_registration_count = metrics.Integer() embargoed_registration_count = metrics.Integer() published_preprint_count = metrics.Integer() - public_file_count = metrics.Integer() - storage_byte_count = metrics.Integer() + public_file_count = metrics.Long() + storage_byte_count = metrics.Long()