Skip to content

Commit

Permalink
csv: set collapse_lists to True
Browse files Browse the repository at this point in the history
  • Loading branch information
ptamarit authored and slint committed Feb 1, 2024
1 parent 57626b7 commit d9fd56d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 70 deletions.
3 changes: 2 additions & 1 deletion invenio_rdm_records/resources/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def _bibliography_headers(obj_or_list, code, many=False):
"metadata.creators.person_or_org.type",
"metadata.creators.person_or_org.name",
"metadata.rights.id",
]
],
collapse_lists=True,
)
),
"application/marcxml+xml": ResponseHandler(
Expand Down
2 changes: 1 addition & 1 deletion invenio_rdm_records/resources/serializers/csv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class CSVRecordSerializer(CSVSerializer):
"""Marshmallow based Schemaorg serializer for records."""
"""Marshmallow based CSV serializer for records."""

def __init__(self, **options):
"""Constructor."""
Expand Down
68 changes: 0 additions & 68 deletions invenio_rdm_records/resources/serializers/csv/schema.py

This file was deleted.

0 comments on commit d9fd56d

Please sign in to comment.