mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Specificly search for field id vs name
This commit is contained in:
@ -44,6 +44,7 @@ type ItemQuery
|
||||
| ConcPersId AttrMatch String
|
||||
| ConcEquipId AttrMatch String
|
||||
| CustomField AttrMatch CustomFieldValue
|
||||
| CustomFieldId AttrMatch CustomFieldValue
|
||||
| DateMs AttrMatch Int
|
||||
| DueDateMs AttrMatch Int
|
||||
| Source AttrMatch String
|
||||
@ -153,6 +154,9 @@ render q =
|
||||
CustomField m kv ->
|
||||
"f:" ++ kv.field ++ attrMatch m ++ quoteStr kv.value
|
||||
|
||||
CustomFieldId m kv ->
|
||||
"f.id:" ++ kv.field ++ attrMatch m ++ quoteStr kv.value
|
||||
|
||||
DateMs m ms ->
|
||||
"date" ++ attrMatch m ++ "ms" ++ String.fromInt ms
|
||||
|
||||
|
Reference in New Issue
Block a user