]> git.koha-community.org Git - koha.git/commit
Bug 23324: Add an ISBN normalization routine
authorNick Clemens <nick@bywatersolutions.com>
Tue, 16 Jul 2019 13:11:06 +0000 (13:11 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Sep 2019 14:55:38 +0000 (16:55 +0200)
commitbb6f4f13ce94231edbbdb5530f1d9734e02fc526
treef995492d545d3e968565d848c4f56f405d21305e
parentdd959f83ac9a9f51eaa2ae1f13af782dafa2c601
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>
(cherry picked from commit 3d15819443bd114a5e61a7a9ee947a3307d39b8f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Matcher.pm
Koha/Util/Normalize.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt
t/Matcher.t