aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-08-23 14:48:49 +0200
committerMichael Muré <batolettre@gmail.com>2022-08-23 14:48:49 +0200
commit6ed4b8b7a1185ad278eb2e40b32e859f828233d9 (patch)
treed22507f4ab418bfe5221ca409348b540b53139f8 /cache
parent45b04351d8d02e53b3401b0ee23f7cbe750b63cd (diff)
downloadgit-bug-6ed4b8b7a1185ad278eb2e40b32e859f828233d9.tar.gz
webui: adapt to CombinedId
Diffstat (limited to 'cache')
-rw-r--r--cache/repo_cache_bug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/repo_cache_bug.go b/cache/repo_cache_bug.go
index 226c4c13..4522f1bc 100644
--- a/cache/repo_cache_bug.go
+++ b/cache/repo_cache_bug.go
@@ -290,7 +290,7 @@ func (c *RepoCache) ResolveComment(prefix string) (*BugCache, entity.CombinedId,
}
for _, comment := range b.Snapshot().Comments {
- if comment.TargetId().HasPrefix(prefix) {
+ if comment.CombinedId().HasPrefix(prefix) {
matchingBugIds = append(matchingBugIds, bugId)
matchingBug = b
matchingCommentId = comment.CombinedId()