mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Return item notes with search results
In order to not make the response very large, a admin can define a limit on how much to return.
This commit is contained in:
@ -82,7 +82,7 @@ object NotifyDueItemsTask {
|
||||
)
|
||||
res <-
|
||||
ctx.store
|
||||
.transact(QItem.findItems(q, Batch.limit(maxItems)).take(maxItems.toLong))
|
||||
.transact(QItem.findItems(q, 0, Batch.limit(maxItems)).take(maxItems.toLong))
|
||||
.compile
|
||||
.toVector
|
||||
} yield res
|
||||
|
Reference in New Issue
Block a user