Bug 23324: Add an ISBN normalization routine
authorNick Clemens <nick@bywatersolutions.com>
Tue, 16 Jul 2019 13:11:06 +0000 (13:11 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 16 Aug 2019 11:26:48 +0000 (12:26 +0100)
commit3d15819443bd114a5e61a7a9ee947a3307d39b8f
tree1d25fba8ef681725f98257ea626145e4698369d0
parent1aae63606caeb389a40bd644b1f9e30917325573
Bug 23324: Add an ISBN normalization routine

To test:
1 - Set SearchEngine to ElasticSearch
2 - Stage the sample file (import it if it doesn't already exist in your catalog and then stage again)
3 - Set matching rule to ISBN
4 - No matches found
5 - Apply patch
6 - Apply no matchign rule
7 - Change the ISBN matching rule to use ISBN normalizer
8 - Apply matching rule for ISBN
9 - It matches!

Signed-off-by: Ron Houk <rhouk@ottumwapubliclibrary.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Matcher.pm
Koha/Util/Normalize.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt
t/Matcher.t