[Koha-bugs] [Bug 26364] XISBN.t makes a bad assumption about return values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 9 16:36:57 CEST 2020


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

--- Comment #9 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 109822
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109822&action=edit
Bug 26364: Remove false matches on isbn

The test here was returning 0590353403 when searched for 9780590353403
because of the regex matching

Koha doesn't work this way unless SearchWithISBNVariations is set to 'search'
and you use a dropdown to select ISBN for searching

To test:
1 - Search catalog for nb=9780590353403
2 - Confirm you don't have results, or delete the records with results
3 - Add isbn 0590353403 to a record
4 - Repeat search, fails
5 - Enable SearchWithISBNVariations
6 - Repeat search, fails
7 - Go to advanced search, select ISBN, search for 9780590353403
8 - Get results

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


More information about the Koha-bugs mailing list