Bug 23768: Return invalid ISBN when searching with variations
commitc2cca95b0c1419381e57f23918d716a6b1ebbe6f
authorNick Clemens <nick@bywatersolutions.com>
Mon, 7 Oct 2019 17:46:30 +0000 (7 17:46 +0000)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Tue, 17 Dec 2019 03:47:25 +0000 (17 16:47 +1300)
tree0926922fd0d283480ab8c936e4d27f221f2c116d
parente73907331391306152a28b5c9906312badf7c904
Bug 23768: Return invalid ISBN when searching with variations

To test:
1 - Enable SearchWithISBNVariations and  IntranetCatalogSearchPulldown
2 - Refresh page and click on 'Search the catalog' tab
3 - Search for 'ISBN' 0385299209
4 - Note no results
5 - Note the search says if searched 'kw,wrdl: (nb=)'
6 - Apply patch, restart all the things
7 - Repeat search
8 - Search looks correctly formed
9 - Add the isbn above to a record, confirm it is returned by search
10 - Confirm searches for valid ISBNs still work as expected

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 050f43f73c4857b26996e15e3d8b8ad536b32763)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
(cherry picked from commit f2bb4afa161db73e803607ac6c518a1e98427de3)
C4/Koha.pm