mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Improve on basic search summary
This commit is contained in:
@ -145,10 +145,7 @@ object OItemSearch {
|
||||
}
|
||||
|
||||
def findItemsSummary(q: Query): F[SearchSummary] =
|
||||
for {
|
||||
tags <- store.transact(QItem.searchTagSummary(q))
|
||||
count <- store.transact(QItem.searchCountSummary(q))
|
||||
} yield SearchSummary(count, tags)
|
||||
store.transact(QItem.searchStats(q))
|
||||
|
||||
def findAttachment(id: Ident, collective: Ident): F[Option[AttachmentData[F]]] =
|
||||
store
|
||||
|
Reference in New Issue
Block a user