mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Make name field search in item name only
Now there is an `allNames` field that searches names of multiple things.
This commit is contained in:
@ -291,7 +291,7 @@ object QItem {
|
||||
IC.state.prefix("i").isOneOf(q.states),
|
||||
IC.incoming.prefix("i").isOrDiscard(q.direction),
|
||||
name
|
||||
.map(n => or(IC.name.prefix("i").lowerLike(n), IC.notes.prefix("i").lowerLike(n)))
|
||||
.map(n => IC.name.prefix("i").lowerLike(n))
|
||||
.getOrElse(Fragment.empty),
|
||||
allNames
|
||||
.map(n =>
|
||||
|
Reference in New Issue
Block a user