https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36947

Lari Strand <lmstr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #167143|0                           |1
        is obsolete|                            |

--- Comment #12 from Lari Strand <lmstr...@gmail.com> ---
Created attachment 167146
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167146&action=edit
Bug 36947: Remove diacritics from decomposed strings in ES search

This patch removes the diacritics from strings decomposed using
Unicode::Normalize's NFKD function. It's necessary to provide
equivalent sorting of accented and unaccented characters.

Test plan:
0. Apply patch
1. koha-plack --restart kohadev
2. Switch to using Elasticsearch and reindex
koha-elasticsearch -b -v --rebuild kohadev
3. Setup some test records with authors with accented and unaccented names,
and different cases for the lead letter
e.g. Aa author, Åa author2, aa author3
4 Do a test search
e.g. http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test
5. Confirm the facet names are sorted in ascending order regardless
of accent or case
e.g.
Aa author
Åa author2
aa author3
Farley, David
Humble, Jez

Signed-off-by: Lari Strand <lari.str...@koha-suomi.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to