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

bibliographicResource can contain more than one ISBN #13

Open
ltog opened this issue Apr 15, 2016 · 2 comments
Open

bibliographicResource can contain more than one ISBN #13

ltog opened this issue Apr 15, 2016 · 2 comments
Assignees

Comments

@ltog
Copy link

ltog commented Apr 15, 2016

A bibliographicResource can contain more than one ISBN.

Example:

curl -XGET 'sb-s6.swissbib.unibas.ch:8080/testsb/bibliographicResource/_search' -d '
{
"query": {
"filtered": {
"filter": {
"bool": {
  "must": {"term": {"@id": "http://data.swissbib.ch/resource/091861764"}}
}
}
}
}
}
'

This leads to an array-to-string conversion at

$link_cover = $url_start . $isbn10 . $url_end;

@ltog
Copy link
Author

ltog commented Apr 27, 2016

@PhilippKuntschik @marahellstern : What should we do in such a case? Just display any of the covers?

@marahellstern
Copy link

@ltog @PhilippKuntschik : Yes, just display any of the covers. I don't see the need to choose a particular cover and I wouldn’t know what criteria to use to make this choice/selection.

@ltog ltog assigned ltog and unassigned marahellstern May 2, 2016
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

2 participants