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

Metadata elements should be repeatable #118

Open
regisrob opened this issue Feb 17, 2014 · 2 comments
Open

Metadata elements should be repeatable #118

regisrob opened this issue Feb 17, 2014 · 2 comments
Milestone

Comments

@regisrob
Copy link

When you have several metadata elements with the same label (e.g. multiple "Author"), only the last one is displayed in metadataView.

@azaroth42
Copy link
Contributor

+1
A workaround would be to have a list for the value:

  {"label": "Author", "value": ["Froissart", "Jehan le Bel", "anonymous chronicler A"]}

@snydman snydman added this to the Icebox milestone Mar 19, 2014
@regisrob
Copy link
Author

Yes it works with a list. Just need a quick (and dirty) workaround in $.stringifyObject https://github.com/IIIF/mirador/blob/master/js/src/mirador.js#L207 to remove the brackets and do some basic formatting (e.g. an html list)

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

No branches or pull requests

3 participants