Bugzilla – Attachment 43780 Details for
Bug 14824
Fix sorting of Norwegian vowels
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14824 - Fix sorting of Norwegian vowels
Bug-14824---Fix-sorting-of-Norwegian-vowels.patch (text/plain), 2.17 KB, created by
Mirko Tietgen
on 2015-10-22 19:15:12 UTC
(
hide
)
Description:
Bug 14824 - Fix sorting of Norwegian vowels
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2015-10-22 19:15:12 UTC
Size:
2.17 KB
patch
obsolete
>From d7c0f4e636e81ac885edca640c75d77d3ae882c5 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Tue, 15 Sep 2015 10:24:44 +0200 >Subject: [PATCH] Bug 14824 - Fix sorting of Norwegian vowels >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Currently, Norwegian vowels are not sorted correctly, even when >you have chosen "nb" as the ZEBRA_LANGUAGE during installation. > >To test: >- Make sure you have three records with titles that begin with ÃÃà > respectively >- Do a search that turns up those three records and some others, and > sort the results by title, bot ascending and descending. >- Verify that ÃÃà is shown in some weird order. >- Edit your sort-string-utf.chr* so it is in line with the current > patch. It should include these two lines: > lowercase {0-9}{a-z}æøå > uppercase {0-9}{A-Z}ÃÃà >- Restart Zebra and reindex all the records, e.g.: > $ sudo koha-restart-zebra <instancename> > $ sudo koha-rebuild-zebra -f -v <instancename> >- Do the search again, make sure you order by title and check that > ÃÃà are sorted in the order of 1. à 2. à 3. Ã, and after all other > characters > >* = If you are on a gitified install, you need to edit this file: >/etc/koha/zebradb/lang_defs/<your ZEBRA_LANGUAGE>/sort-string-utf.chr >NOT the file in your git clone (yeah, i wasted some time there...) > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> >--- > etc/zebradb/lang_defs/nb/sort-string-utf.chr | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/etc/zebradb/lang_defs/nb/sort-string-utf.chr b/etc/zebradb/lang_defs/nb/sort-string-utf.chr >index 9cb9c56..51aecc6 100644 >--- a/etc/zebradb/lang_defs/nb/sort-string-utf.chr >+++ b/etc/zebradb/lang_defs/nb/sort-string-utf.chr >@@ -3,10 +3,10 @@ > > encoding utf-8 > >-# Define the basic value-set. *Beware* of changing this without re-indexing >-# your databases. >-lowercase {0-9}aæbcdefghijklmnopqrstuvwxyzø >-uppercase {0-9}AÃBCDEFGHIJKLMNOPQRSTUVWXYZà >+# Define the basic value-set and sort order >+# *Beware* of changing this without re-indexing your databases. >+lowercase {0-9}{a-z}æøå >+uppercase {0-9}{A-Z}ÃÃà > > # Breaking characters > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14824
:
42549
|
43780
|
43943