Skip to content

Commit

Permalink
Remove doi counts from organizations export
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Dec 11, 2019
1 parent 63b53cf commit 627228e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/controllers/export_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ def organizations
rorId
created
deleted
doisCountCurrentYear
doisCountPreviousYear
doisCountTotal
)

csv = headers.to_csv
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 627228e

Please sign in to comment.