Fix bool searches to not invert the tristate logic.

This commit is contained in:
Charles Haley
2011-04-23 11:15:59 +01:00
parent 640c4ff784
commit e47e6fa14f
+1 -1
View File
@@ -556,7 +556,7 @@ class ResultCache(SearchQueryParser): # {{{
return matchkind, query
def get_bool_matches(self, location, query, candidates):
bools_are_tristate = not self.db_prefs.get('bools_are_tristate')
bools_are_tristate = self.db_prefs.get('bools_are_tristate')
loc = self.field_metadata[location]['rec_index']
matches = set()
query = icu_lower(query)