mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
BugExcerpt: also store bug labels
This commit is contained in:
parent
a38c1c23eb
commit
21f9840e99
2
cache/bug_excerpt.go
vendored
2
cache/bug_excerpt.go
vendored
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user