Skip to content

Commit

Permalink
Add in new repos service contact info to export
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Jan 9, 2020
1 parent ce19c6f commit 0db6b60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/controllers/export_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ def repositories
accountDescription
accountWebsite
generalContactEmail
serviceContactEmail
serviceContactGivenName
serviceContactFamilyName
created
deleted
doisCountCurrentYear
Expand All @@ -264,6 +267,9 @@ def repositories
accountDescription: client.description,
accountWebsite: client.url,
generalContactEmail: client.system_email,
serviceContactEmail: client.service_contact_email,
serviceContactGivenName: client.service_contact_given_name,
serviceContactFamilyName: client.service_contact_family_name,
created: client.created.present? ? client.created.strftime("%Y-%m-%d") : nil,
deleted: client.deleted_at.present? ? client.deleted_at.strftime("%Y-%m-%d") : nil,
doisCountCurrentYear: client_totals[client_id] ? client_totals[client_id]["this_year"] : nil,
Expand Down

0 comments on commit 0db6b60

Please sign in to comment.