Bug #7395

Fix wrong column headers and "real name" content in /exports/users.csv

Added by Tom Clegg almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Publishing
Start date:
09/29/2015
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

Description

Currently, /users.csv gives you something like this

human_id    sha1    download_url    get_evidence_genome_id    report_url    location    name    created_at    updated_at    locator    published_at    status_url    download_url    report_metadata
hu5D9DE3    false                                                
hu034DB1    true                                                

see source:app/controllers/exports_controller.rb

Desired fixes:
  • The column headings are obviously a copy-and-paste error (these are the "datasets" column headings). The second column should be "real_name".
  • If the user has enabled "real name public", the second column says "true". We should show the participant's real name here.
  • Related feature request: might as well add an "enrolled" column showing the date the participant enrolled.

Subtasks

Task #7396: review 7395-users-csv-columnsResolvedWard Vandewege


Related issues

Related to Tapestry - Story #6319: Add API endpoint for backend tablesResolved06/12/2015

Associated revisions

Revision 3af80c0e
Added by Tom Clegg almost 6 years ago

Merge branch '7395-users-csv-columns'

closes #7395

History

#1 Updated by Tom Clegg almost 6 years ago

  • Description updated (diff)

#2 Updated by Ward Vandewege almost 6 years ago

  • Target version set to Testing and Upgrading + PGP.ca features

#3 Updated by Ward Vandewege almost 6 years ago

Reviewing 7395-users-csv-columns

LGTM, please merge.

#4 Updated by Tom Clegg almost 6 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF