aboutsummaryrefslogtreecommitdiffstats
path: root/cache/filter.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-03-29 12:04:55 +0200
committerGitHub <noreply@github.com>2021-03-29 12:04:55 +0200
commit2055bd5d0afb534cc98cd11bd9802d66acbb0c8f (patch)
treefc4bb9a585f086414da2806e04f03d20ce8b8fe5 /cache/filter.go
parente985653701e8438e27ee5f925fd0aa7c0eef09fe (diff)
parentf7dec7e96cff20e039d7f0d6f96d853157a6027f (diff)
downloadgit-bug-2055bd5d0afb534cc98cd11bd9802d66acbb0c8f.tar.gz
Merge pull request #611 from MichaelMure/fix-no-filter
cache: fix no-label filter not properly wired
Diffstat (limited to 'cache/filter.go')
-rw-r--r--cache/filter.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache/filter.go b/cache/filter.go
index c167fe71..7ea40673 100644
--- a/cache/filter.go
+++ b/cache/filter.go
@@ -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
}