mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-05 22:55:58 +00:00
Make name search case insensitive
This commit is contained in:
parent
217fef7384
commit
67666595eb
@ -284,8 +284,8 @@ object QItem {
|
||||
RTagItem.Columns.tagId.isOneOf(q.tagsExclude)
|
||||
)
|
||||
|
||||
val name = q.name.map(queryWildcard)
|
||||
val allNames = q.allNames.map(queryWildcard)
|
||||
val name = q.name.map(_.toLowerCase).map(queryWildcard)
|
||||
val allNames = q.allNames.map(_.toLowerCase).map(queryWildcard)
|
||||
val cond = and(
|
||||
IC.cid.prefix("i").is(q.collective),
|
||||
IC.state.prefix("i").isOneOf(q.states),
|
||||
|
Loading…
x
Reference in New Issue
Block a user