Bug 222400 - Support ignoring diacritics in filter
Summary: Support ignoring diacritics in filter
Status: RESOLVED FIXED
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-12 17:03 UTC by Robby Stephenson
Modified: 2011-07-23 23:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.3.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Stephenson 2010-01-12 17:03:09 UTC
Version:            (using KDE 4.3.3)
Installed from:    openSUSE RPMs

Wishlist item from mailing list:

----
This is a minor issue, but it would be nice if the filter wasn't quite so picky with diacritics. For example, both "Joao Gilberto" and "João Gilberto" ought to return the same results, but as it is I have to ensure that I type all diacritics exactly. I know other programs have more forgiving search functions, so it ought to be possible.
Comment 1 Robby Stephenson 2011-07-23 23:54:37 UTC
Git commit ac17e0ae0125236cbf0fd920cb071eab32118c5a by Robby Stephenson.
Committed on 24/07/2011 at 01:52.
Pushed by rstephenson into branch '2.3'.

Allow filter to match without accent marks

For filter rules using the "Contains" criteria, match against value
and against value without accent marks. Do not match for "Equals"
rules or regular expressions.
BUG: 222400
FIXED-IN: 2.3.4

A  +129  -0    src/tests/filtertest.cpp     [License: GPL (v2/3)]
A  +38   -0    src/tests/filtertest.h     [License: GPL (v2/3)]
M  +5    -0    ChangeLog
M  +41   -10   src/filter.cpp
M  +2    -1    src/filter.h
M  +3    -0    src/tests/CMakeLists.txt

http://commits.kde.org/tellico/ac17e0ae0125236cbf0fd920cb071eab32118c5a