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

[harvest] gmuhk default authority role #920

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

rastislav-chynoransky
Copy link
Contributor

$authority->id => ['role' => AuthorityMatcher::parse($author)['alt_name']],
$authority->id => ['role' => AuthorityMatcher::parse($author)['alt_name'] ?? 'autor/author'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The role is being parsed out of alt_name? Is this right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now yes, this GMUHK data has the role saved where other data sources have alt_name.
We're going to refactor the matcher/parser soon but that will require few more steps – matcher will need to understand the format of Item::$author.

@rastislav-chynoransky rastislav-chynoransky merged commit d17b012 into develop Nov 2, 2023
1 check passed
@rastislav-chynoransky rastislav-chynoransky deleted the WEBUMENIA-1533-gmuhk-default-role branch November 2, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants