Skip to content

Commit

Permalink
Merge pull request #920 from SlovakNationalGallery/WEBUMENIA-1533-gmu…
Browse files Browse the repository at this point in the history
…hk-default-role

[harvest] gmuhk default authority role
  • Loading branch information
rastislav-chynoransky authored Nov 2, 2023
2 parents 0015940 + 7228eb6 commit d17b012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Harvest/Importers/GmuhkItemImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function import(array $row, Progress $result) {
->map->first()
->mapWithKeys(
fn(Authority $authority, $author) => [
$authority->id => ['role' => AuthorityMatcher::parse($author)['alt_name']],
$authority->id => ['role' => AuthorityMatcher::parse($author)['alt_name'] ?? 'autor/author'],
]
);

Expand Down

0 comments on commit d17b012

Please sign in to comment.