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

ISBN search #697

Merged
merged 1 commit into from
Mar 6, 2021
Merged

ISBN search #697

merged 1 commit into from
Mar 6, 2021

Conversation

mmai
Copy link
Contributor

@mmai mmai commented Mar 6, 2021

This is a proposition to fix the #467 issue and to allow other connectors beyond OpenLibray to have a custom ISBN search method.
The global search now try first a ISBN search if the query looks like a isbn10 or isbn13, and fallback to regular search if no result is found.

For this I made a new migration which creates a 'isbn_search_url' field in the Connector table, and I've updated the initdb.py script with the values for OpenLibrary and Bookwyrm instances.

@mouse-reeve
Copy link
Member

This is great! I can't find anything to quibble about, thanks for your thorough work and tests :)

@mouse-reeve mouse-reeve merged commit 13531f1 into bookwyrm-social:main Mar 6, 2021
@mmai mmai deleted the feature/isbnSearch branch March 7, 2021 08:57
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.

None yet

2 participants