From 1d758f9f64aab6a197e4a4809abf7d87ae0f83f2 Mon Sep 17 00:00:00 2001 From: Sladyn Date: Sun, 31 Mar 2019 16:09:29 +0530 Subject: [PATCH] cache/filter.go: Fix and match for labels Fixed filter query for multiple labels from `OR` to `AND` according to github conventions. Fixed https://github.com/MichaelMure/git-bug/issues/115 --- cache/filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/filter.go b/cache/filter.go index b6872508c8d8418c9ae9cb00c740659e426e216a..7f01060887086478f5aeab8a06dd4d291b4e5be0 100644 --- a/cache/filter.go +++ b/cache/filter.go @@ -91,7 +91,7 @@ func (f *Filters) Match(repoCache *RepoCache, excerpt *BugExcerpt) bool { return false } - if match := f.orMatch(f.Label, repoCache, excerpt); !match { + if match := f.andMatch(f.Label, repoCache, excerpt); !match { return false }