mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Select linked items from search page
- Quickly select related items from the search view - Include related items with item details to spare another request
This commit is contained in:
@ -134,8 +134,7 @@ object OItemSearch {
|
||||
|
||||
def findItem(id: Ident, collective: Ident): F[Option[ItemData]] =
|
||||
store
|
||||
.transact(QItem.findItem(id))
|
||||
.map(opt => opt.flatMap(_.filterCollective(collective)))
|
||||
.transact(QItem.findItem(id, collective))
|
||||
|
||||
def findItems(maxNoteLen: Int)(q: Query, batch: Batch): F[Vector[ListItem]] =
|
||||
Timestamp
|
||||
|
Reference in New Issue
Block a user