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

Allow searching for specific media type independently of the lane's media type #895

Closed
leonardr opened this issue Mar 21, 2018 · 0 comments
Assignees

Comments

@leonardr
Copy link
Contributor

leonardr commented Mar 21, 2018

The admin interface uses the standard /search endpoint to search a library's top-level lane. Currently this only searches ebooks. A different issue will cover changing the top-level lane to include all types of media.

The search controller needs to be changed further to allow the caller to pass in a specific type of media it wants to search. This goes beyond what OpenSearch allows for, but it's not a big deal and doesn't open up the full "advanced search" can of worms, because the URLs will only be used in the admin interface and in direct links where the context will be clear to the user.

The client should identify the media type it wants to search for using the schema.org URIs we've adopted: http://bib.schema.org/Audiobook and http://schema.org/EBook. If no media type is specified, all media available from the selected lane will be searched.

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