bookwyrm-social / bookwyrm

Social reading and reviewing, decentralized with ActivityPub
http://joinbookwyrm.com/
Other
2.23k stars 261 forks source link

When searching from ISBN, prefer exact matches #2270

Open jfinkhaeuser opened 2 years ago

jfinkhaeuser commented 2 years ago

Is your feature request related to a problem? Please describe. When I search for the ISBN of an older edition, the software will often find the right book, but list a completely different edition. When I select the book, the browse into the editions, I may find the edition matching the ISBN I entered.

Describe the solution you'd like It would be significantly more convenient if the top search result (if possible) was the edition with the ISBN I entered.

Describe alternatives you've considered Sometimes the edition is listed with an ISBN-13 generated from the ISBN-10 the edition is actually published under. Some fuzziness here might be helpful, i.e. if no exact match is possible, try an ISBN-13 ending in the digits entered. This may relate to #2269

mouse-reeve commented 2 years ago

Is this happening when you import a book from a remote connector (like Open Library or Inventaire), or when the book is available in the local database?

jfinkhaeuser commented 2 years ago

That's a good question. I don't really remember. I'll test it out, I have a few more things to add.

jfinkhaeuser commented 2 years ago

In #2269 I describe a book I added. The metadata seems wrong, but there is only one edition. That was not present on bookwyrm yet, so the import came from OpenLibrary. I will have to try more popular books to see if this happens for already existing books.

jfinkhaeuser commented 1 year ago

It seems that it also happens with books already imported.

mouse-reeve commented 1 year ago

Okay, good to know. If you have an example ISBN that would be super helpful