mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 17:55:06 +00:00
Allow to search in a defined item subset
This commit is contained in:
parent
5f2f20c8d7
commit
458fa7edd9
@ -4483,6 +4483,8 @@ components:
|
|||||||
dueDateUntil:
|
dueDateUntil:
|
||||||
type: integer
|
type: integer
|
||||||
format: date-time
|
format: date-time
|
||||||
|
itemSubset:
|
||||||
|
$ref: "#/components/schemas/IdList"
|
||||||
ItemLight:
|
ItemLight:
|
||||||
description: |
|
description: |
|
||||||
An item with only a few important properties.
|
An item with only a few important properties.
|
||||||
|
@ -134,7 +134,9 @@ trait Conversions {
|
|||||||
m.dueDateFrom,
|
m.dueDateFrom,
|
||||||
m.dueDateUntil,
|
m.dueDateUntil,
|
||||||
m.allNames,
|
m.allNames,
|
||||||
None,
|
m.itemSubset
|
||||||
|
.map(_.ids.flatMap(i => Ident.fromString(i).toOption).toSet)
|
||||||
|
.filter(_.nonEmpty),
|
||||||
None
|
None
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user