[Patches] [PATCH] [Signed Off] Bug 2629 - Diacritics not being ignored when

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sun Jan 1 11:50:02 NZDT 2012


From: Albert Oller <root at ThinkPad-W520.localdomain>
Date: Tue, 29 Nov 2011 19:16:51 -0500
Subject: [PATCH] [Signed Off] Bug 2629 - Diacritics not being ignored when
 searching
Content-Type: text/plain; charset="utf-8"

/etc/zebradb/etc/word-phrase-utf.chr
added Cc miniscule and Cc circumflex; added Kk acute accent.

Signed-off-by: Liz Rea <wizzyrea at gmail.com>
- imported marc record from the bug with the offending diacritic
- reindexed
- searched for the title - result found! Yay!
---
 etc/zebradb/etc/word-phrase-utf.chr |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/etc/zebradb/etc/word-phrase-utf.chr b/etc/zebradb/etc/word-phrase-utf.chr
index 6fbab70..29b8757 100644
--- a/etc/zebradb/etc/word-phrase-utf.chr
+++ b/etc/zebradb/etc/word-phrase-utf.chr
@@ -260,6 +260,10 @@ map č			c
 map Č			c
 map ȼ			c
 map Ȼ			c
+map Ċ                   c
+map ċ                   c
+map Ĉ                   c
+map ĉ                   c
 # G 
 map ǥ			g
 map Ǥ			g
@@ -272,6 +276,8 @@ map Ğ			g
 # K 
 map ḵ			k
 map Ḵ			k
+map Ḱ			k
+map ḱ			k
 # Y  
 map ý			y
 map Ý			y
@@ -308,4 +314,3 @@ map (^\[S\.d\.\])   @
 map (^\[SD\])       @
 map (^\[S\.D\.\])   @
 map (\x88.*\x89))   @
-
-- 
1.7.5.4


More information about the Patches mailing list