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)
committerLucas Gass <lucas@bywatersolutions.com>
Sun, 26 May 2019 12:37:20 +0000 (12:37 +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>
(cherry picked from commit d57239ca78e7719f4c04865e8c493919c6362c15)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 006fa1a49789763892b9fcd286b7e3d875472e10)

Signed-off-by: Lucas Gass <lucas@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