mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 10:37:00 -04:00 
			
		
		
		
	Fix bool searches to not invert the tristate logic.
This commit is contained in:
		
							parent
							
								
									640c4ff784
								
							
						
					
					
						commit
						e47e6fa14f
					
				| @ -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) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Charles Haley
						Charles Haley