354
354
# from the key (that is the key is found in a REVNO at the offset 0)
355
355
# or if a MESSAGE *contains* the key anywhere (that is, the key is
356
356
# found case insensitively in a MESSAGE at any offset)
357
def search_equal_func(model, column, key, iter):
357
def search_equal_func(model, column, key, iter, ignored):
358
358
return (model.get_value(iter, treemodel.REVNO).find(key) != 0
359
359
and model.get_value(iter, treemodel.MESSAGE).lower().find(key.lower()) == -1)