Container Labels Export Is Inconsistent

Description

The Container Label export from the staff interface is inconsistent and does not support all description arrangements. It does not export all labels for all objects, but attempts to differentiate top containers by series, which leads to misleading labels.

Using a resource tree that looks like the attached, the following is exported:

The labels model https://github.com/archivesspace/archivesspace/blob/master/backend/app/exporters/models/labels.rb#L125) is keyed to level, specifically series, but also tacks on the child and grandchild labels for descendants of the series.

Perhaps the export should either ignore the descendants and only provide labels for the associated top containers, using only type and ignoring type_1 and type_2 data. OR it should provide labels for all objects with the descendant data appended specific to that object.

Environment

None

Assignee

Unassigned

Reporter

Joshua Shaw

Affects versions

Priority

Minor