From 092b26356c0c9e63c59eeb88a1728e1114cc9442 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Wed, 25 Nov 2015 14:52:45 +0100 Subject: [PATCH] 9065 : Interactivesearch gives "TypeError: unorderable types: str() < NoneType()" --- gramps/gui/widgets/interactivesearchbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/widgets/interactivesearchbox.py b/gramps/gui/widgets/interactivesearchbox.py index d906b5c1c..3ae9af440 100644 --- a/gramps/gui/widgets/interactivesearchbox.py +++ b/gramps/gui/widgets/interactivesearchbox.py @@ -507,7 +507,7 @@ class InteractiveSearchBox(): # TODO: explicitely announce the data->sortkey func in models # sort_key = model.sort_func(text) sort_key = glocale.sort_key(text.lower()) - srtkey_hndl = (sort_key, None) + srtkey_hndl = (sort_key, "") lo_bound = 0 # model.get_path(cur_iter) found_index = bisect.bisect_left(index2hndl, srtkey_hndl, lo=lo_bound) # if insert position is at tail, no match