Improve on basic search summary

This commit is contained in:
Eike Kettner
2020-12-15 23:11:04 +01:00
parent f3855628d5
commit 77627534bc
5 changed files with 89 additions and 9 deletions

View File

@ -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