diff options
author | Sladyn <gunnerforlife00@gmail.com> | 2019-03-31 16:09:29 +0530 |
---|---|---|
committer | Sladyn <gunnerforlife00@gmail.com> | 2019-03-31 16:09:29 +0530 |
commit | 1d758f9f64aab6a197e4a4809abf7d87ae0f83f2 (patch) | |
tree | e77fa655c7d23dd36894f565bfd4d48b1b57bf55 | |
parent | 0a71e6d269e60f844a2d08069ca5bdee9b91b388 (diff) | |
download | git-bug-1d758f9f64aab6a197e4a4809abf7d87ae0f83f2.tar.gz |
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
-rw-r--r-- | cache/filter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/filter.go b/cache/filter.go index b6872508..7f010608 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 } |