diff options
Diffstat (limited to 'cache/bug_excerpt.go')
-rw-r--r-- | cache/bug_excerpt.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go index fd06e51b..a50d8c66 100644 --- a/cache/bug_excerpt.go +++ b/cache/bug_excerpt.go @@ -23,8 +23,10 @@ type BugExcerpt struct { CreateUnixTime int64 EditUnixTime int64 - Status bug.Status - Labels []bug.Label + Status bug.Status + Labels []bug.Label + Title string + LenComments int // If author is identity.Bare, LegacyAuthor is set // If author is identity.Identity, AuthorId is set and data is deported @@ -50,6 +52,8 @@ func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) *BugExcerpt { EditUnixTime: snap.LastEditUnix(), Status: snap.Status, Labels: snap.Labels, + Title: snap.Title, + LenComments: len(snap.Comments), CreateMetadata: b.FirstOp().AllMetadata(), } |