mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Allow to query custom field values with wildcards
This commit is contained in:
@ -289,7 +289,7 @@ object QItem {
|
||||
and(
|
||||
cfColl.is(coll),
|
||||
or(cfName.is(v.field), cfId.is(v.field)),
|
||||
cvValue.is(v.value)
|
||||
cvValue.lowerLike(QueryWildcard(v.value.toLowerCase))
|
||||
)
|
||||
)
|
||||
if (cv.isEmpty) Seq.empty
|
||||
|
Reference in New Issue
Block a user