From a766ec583a0390b6def73b7b2262624f79b74053 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Wed, 25 Nov 2015 14:46:51 +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 848df729c..97e8ee686 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