bookwyrm icon indicating copy to clipboard operation
bookwyrm copied to clipboard

When searching from ISBN, prefer exact matches

Open jfinkhaeuser opened this issue 1 year ago • 3 comments

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

jfinkhaeuser avatar Aug 11 '22 08:08 jfinkhaeuser

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?

mouse-reeve avatar Aug 29 '22 20:08 mouse-reeve

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

jfinkhaeuser avatar Aug 29 '22 21:08 jfinkhaeuser

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 avatar Aug 30 '22 11:08 jfinkhaeuser

It seems that it also happens with books already imported.

jfinkhaeuser avatar Sep 27 '22 07:09 jfinkhaeuser

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

mouse-reeve avatar Sep 27 '22 14:09 mouse-reeve