mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-30 21:40:12 +00:00 
			
		
		
		
	Search for categories case-insensitive
The string was already lowercased, but the comparison was not. Fixes #568
This commit is contained in:
		| @@ -36,7 +36,7 @@ object TagItemName { | ||||
|  | ||||
|   def itemsInAllCategories(cats: NonEmptyList[String]): Select = | ||||
|     intersect( | ||||
|       cats.map(cat => Select(ti.itemId.s, taggedItems, t.category === cat).distinct) | ||||
|       cats.map(cat => Select(ti.itemId.s, taggedItems, t.category.lowerEq(cat)).distinct) | ||||
|     ) | ||||
|  | ||||
|   def itemsWithEitherTag(tags: NonEmptyList[Ident]): Select = | ||||
|   | ||||
		Reference in New Issue
	
	Block a user