Bug 22787: Add mapping of letters "ů" and "Ů" to zebra definitions
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 29 Apr 2019 12:18:43 +0000 (14:18 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 7 May 2019 11:00:13 +0000 (11:00 +0000)
Test plan:
0) Do not apply the patch
1) Add some word with character "ů" into metadata, for example author "Martinů, Bohuslav"
2) Try to search it with "Martinu" and you'll see you can't find it
3) Apply the patch
4) Copy file etc/zebradb/etc/word-phrase-utf.chr to your /etc/koha directory
    sudo cp etc/zebradb/etc/word-phrase-utf.chr /etc/koha/zebradb/etc/
5) koha-zebra --restart kohadev
6) koha-rebuild-zebra -f kohadev
6) try to search "Martinu" again - you should be able to find your record

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

etc/zebradb/etc/word-phrase-utf.chr

index 3b39f1e..a63714e 100644 (file)
@@ -125,6 +125,8 @@ map ʉ                      u
 map Ʉ                 u
 map ů                        u
 map Ů                 u
+map ů                   u
+map Ů                   u
 # E
 map ê                 e
 map Ê                 e