Merge pull request #611 from MichaelMure/fix-no-filter

cache: fix no-label filter not properly wired
This commit is contained in:
Michael Muré 2021-03-29 12:04:55 +02:00 committed by GitHub
commit 2055bd5d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
cache/filter.go vendored
View File

@ -153,6 +153,9 @@ func compileMatcher(filters query.Filters) *Matcher {
for _, value := range filters.Title {
result.Title = append(result.Title, TitleFilter(value))
}
if filters.NoLabel {
result.NoFilters = append(result.NoFilters, NoLabelFilter())
}
return result
}