9065 : Interactivesearch gives "TypeError: unorderable types: str() < NoneType()"
This commit is contained in:
parent
c860db13a9
commit
a766ec583a
@ -507,7 +507,7 @@ class InteractiveSearchBox():
|
|||||||
# TODO: explicitely announce the data->sortkey func in models
|
# TODO: explicitely announce the data->sortkey func in models
|
||||||
# sort_key = model.sort_func(text)
|
# sort_key = model.sort_func(text)
|
||||||
sort_key = glocale.sort_key(text.lower())
|
sort_key = glocale.sort_key(text.lower())
|
||||||
srtkey_hndl = (sort_key, None)
|
srtkey_hndl = (sort_key, "")
|
||||||
lo_bound = 0 # model.get_path(cur_iter)
|
lo_bound = 0 # model.get_path(cur_iter)
|
||||||
found_index = bisect.bisect_left(index2hndl, srtkey_hndl, lo=lo_bound)
|
found_index = bisect.bisect_left(index2hndl, srtkey_hndl, lo=lo_bound)
|
||||||
# if insert position is at tail, no match
|
# if insert position is at tail, no match
|
||||||
|
Loading…
x
Reference in New Issue
Block a user