aboutsummaryrefslogtreecommitdiffstats
path: root/cache/bug_excerpt.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/bug_excerpt.go')
-rw-r--r--cache/bug_excerpt.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go
index 31e1951f..94b46ccc 100644
--- a/cache/bug_excerpt.go
+++ b/cache/bug_excerpt.go
@@ -19,6 +19,7 @@ type BugExcerpt struct {
Status bug.Status
Author bug.Person
+ Labels []bug.Label
}
func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) BugExcerpt {
@@ -30,6 +31,7 @@ func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) BugExcerpt {
EditUnixTime: snap.LastEditUnix(),
Status: snap.Status,
Author: snap.Author,
+ Labels: snap.Labels,
}
}