From 627228e926d5bfcdd0706519cebc4e8aee1debfd Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Wed, 11 Dec 2019 11:55:28 +0100 Subject: [PATCH] Remove doi counts from organizations export --- app/controllers/export_controller.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb index 7c89e1d33..836554449 100644 --- a/app/controllers/export_controller.rb +++ b/app/controllers/export_controller.rb @@ -155,9 +155,6 @@ def organizations rorId created deleted - doisCountCurrentYear - doisCountPreviousYear - doisCountTotal ) csv = headers.to_csv @@ -188,10 +185,7 @@ def organizations twitter: provider.twitter_handle, rorId: provider.ror_id, created: provider.created, - deleted: provider.deleted_at, - doisCountCurrentYear: nil, - doisCountPreviousYear: nil, - doisCountTotal: nil + deleted: provider.deleted_at }.values csv += CSV.generate_line row