Issue 3188 search for ü did not work.
svn: r13124
This commit is contained in:
parent
0ac7dc7a96
commit
370efe7566
@ -1,3 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
@ -76,6 +77,9 @@ class Rule(object):
|
||||
return ';'.join(v)
|
||||
|
||||
def match_substring(self, param_index, str_var):
|
||||
# make str_var unicode so that search for ü works
|
||||
# see issue 3188
|
||||
str_var = unicode(str_var)
|
||||
if self.list[param_index] and \
|
||||
(str_var.upper().find(self.list[param_index].upper()) == -1):
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user