Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authors should be displayed like for literature (and populated from the linked literature record) #659

Closed
Tracked by #634
drjova opened this issue Jan 10, 2025 · 1 comment
Assignees

Comments

@drjova
Copy link
Contributor

drjova commented Jan 10, 2025

Description

We need to display authors in data collection.

Work involved

Acceptance

  • We should display the 10 first authors on data records and on Show all to display the rest
@drjova drjova mentioned this issue Jan 10, 2025
7 tasks
@drjova drjova changed the title * authors should be displayed like for literature (and populated from the linked literature record) authors should be displayed like for literature (and populated from the linked literature record) Jan 10, 2025
@PascalEgn PascalEgn self-assigned this Jan 14, 2025
@miguelgrc
Copy link
Collaborator

Updates:

  • We should change the serializer so that it returns the authors from the data record or otherwise the first 10 authors from the first associated literature record. We should also add a new /data/<control_number>/authors endpoint that returns the full list of authors.
  • On the frontend we should add a new action in data to fetch authors calling this new endpoint. This action will be called in the withRouteActionsDispatcher of data DetailPageContainer.

This way we will follow the same logic as for literature and literature authors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants