From 59f894cd0e32f69fc5940a26b60470ac4f7fb589 Mon Sep 17 00:00:00 2001 From: michplunkett <5885605+michplunkett@users.noreply.github.com> Date: Tue, 4 Feb 2025 16:47:53 -0600 Subject: [PATCH 1/2] Update views.py --- OpenOversight/app/main/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenOversight/app/main/views.py b/OpenOversight/app/main/views.py index ca9a603be..2d8c42bc2 100644 --- a/OpenOversight/app/main/views.py +++ b/OpenOversight/app/main/views.py @@ -1746,10 +1746,7 @@ def download_dept_descriptions_csv(department_id: int): field_names = [ "id", "text_contents", - "created_by", "officer_id", - "created_at", - "last_updated_at", ] return make_downloadable_csv( From 5dfeaafc11e81250253a1b495e03aa754c6779ca Mon Sep 17 00:00:00 2001 From: michplunkett <5885605+michplunkett@users.noreply.github.com> Date: Tue, 4 Feb 2025 16:47:57 -0600 Subject: [PATCH 2/2] Update downloads.py --- OpenOversight/app/main/downloads.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenOversight/app/main/downloads.py b/OpenOversight/app/main/downloads.py index 54fd5cd3e..dc541c4d3 100644 --- a/OpenOversight/app/main/downloads.py +++ b/OpenOversight/app/main/downloads.py @@ -160,8 +160,5 @@ def descriptions_record_maker(description: Description) -> _Record: return { "id": description.id, "text_contents": description.text_contents, - "created_by": description.created_by, "officer_id": description.officer_id, - "created_at": description.created_at, - "last_updated_at": description.last_updated_at, }