aboutsummaryrefslogtreecommitdiffstats
path: root/cache/filter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/filter.go')
-rw-r--r--cache/filter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/filter.go b/cache/filter.go
index dc134260..a5aca8fb 100644
--- a/cache/filter.go
+++ b/cache/filter.go
@@ -57,7 +57,7 @@ func LabelFilter(label string) Filter {
// TitleFilter return a Filter that match a title
func TitleFilter(title string) Filter {
- return func(excerpt *BugExcerpt) bool {
+ return func(repo *RepoCache, excerpt *BugExcerpt) bool {
return strings.Contains(excerpt.Title, title)
}
}
@@ -96,7 +96,7 @@ func (f *Filters) Match(repoCache *RepoCache, excerpt *BugExcerpt) bool {
return false
}
- if match := f.andMatch(f.Title, excerpt); !match {
+ if match := f.andMatch(f.Title, repoCache, excerpt); !match {
return false
}