mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-27 05:55:15 +01:00
Fix bool searches to not invert the tristate logic.
This commit is contained in:
parent
640c4ff784
commit
e47e6fa14f
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ def _matchkind(self, query):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue