cache/filter.go: Fix and match for labels

Sladyn created

Fixed filter query for multiple labels from
`OR` to `AND` according to github conventions.

Fixed https://github.com/MichaelMure/git-bug/issues/115

Change summary

cache/filter.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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
 	}