[Koha-bugs] [Bug 17475] 'Edition' tab in detail.pl fails to display records with matching ISBNs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 21 07:02:52 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17475

--- Comment #1 from Mason James <mtj at kohaaloha.com> ---
Take 3 bibs, with these isbns...

bib1 = 9780802806017; 9780802871855; 9780802827876
bib2 = 9780802871855
bib3 = 9780802827876

The Edition/FRBR matching code should successfully match all 3 bibs, but
currently this does not happen :'(


There seems to be 2 bugs with the code, that cause incomplete matching in some
edge-cases

Bug 1: Records with ISBN13 values don't match correctly

All isbns13 values are converted to isbn10 format for matching, then matched
against isbn13 database values (in some cases). This causes some records not to
be successfully matched


Bug 2: Records with multiple ISBN values don't match correctly

For records with multiple ISBN value, only the isbn10 value of the 1st ISBN
subfield is used for matching, all other ISBN subfields are ignored. This
causes some records not to be successfully matched


also, note that all ISBNs in all 3 bibs match successfully at librarything

http://www.librarything.com/api/thingISBN/9780802806017
http://www.librarything.com/api/thingISBN/9780802871855
http://www.librarything.com/api/thingISBN/9780802827876


<idlist>
<isbn>080282787X</isbn>
<isbn>0802806015</isbn>
<isbn>0802871852</isbn>
<isbn>080283695X</isbn>
</idlist>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list