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

titleMetadata does not work for metadata groups #4500

Closed
solth opened this issue Jun 21, 2021 · 1 comment · Fixed by #4509
Closed

titleMetadata does not work for metadata groups #4500

solth opened this issue Jun 21, 2021 · 1 comment · Fixed by #4509
Assignees
Labels

Comments

@solth
Copy link
Member

solth commented Jun 21, 2021

Kitodo.Production 3 allows configuring specific metadata to be displayed in the title bars of the gallery stripes in the metadata editor. To enable this feature, the names of the metadata entries must be added to the key metsEditor.titleMetadata in the file kitodo_config.properties.

This does not work for metadata entries nested within metadata groups, though. So if the corresponding ruleset contains title information structured similar to mods (titleInfo/title), this information can currently not be displayed as title metadata in the editor.

@matthias-ronge
Copy link
Collaborator

I think it would be good if the Key Path syntax (without regex support) would work here:

@TitleDocMain − "TitleDocMain" on top level
@titleInfo@title − "title" from "titleInfo" record

Leading @ character may be optional, so this would work, too:

TitleDocMain − "TitleDocMain" on top level
titleInfo@title − "title" from "titleInfo" record

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants