mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Return more tag details with item insights
This commit is contained in:
@ -31,9 +31,12 @@ trait Conversions {
|
||||
d.incoming,
|
||||
d.outgoing,
|
||||
d.bytes,
|
||||
TagCloud(d.tags.toList.map(p => NameCount(p._1, p._2)))
|
||||
TagCloud(d.tags.map(tc => TagCount(mkTagLight(tc), tc.count)))
|
||||
)
|
||||
|
||||
def mkTagLight(t: OCollective.TagCount): TagLight =
|
||||
TagLight(t.id, t.name, t.category)
|
||||
|
||||
// attachment meta
|
||||
def mkAttachmentMeta(rm: RAttachmentMeta): AttachmentMeta =
|
||||
AttachmentMeta(
|
||||
|
Reference in New Issue
Block a user