EAD Import Only Adds First <language> In <langmaterial>

Description

When there are multiple languages in a <langmaterial> tag, the EAD importer only grabs the first one. For instance:

<langmaterial>
<language langcode="spa"/>
<language langcode="ger"/>
<language langcode="eng"/>
<language langcode="ita"/>
<language langcode="swe"/>
</langmaterial>

imports as Spanish; Castilian.

Splitting the languages into multiple <langmaterial> elements fixes the import issue, but should not be required.

Environment

None

Assignee

Unassigned

Reporter

Brian Harrington

Labels

Priority

Minor