aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-03-29 11:13:40 +0200
committerMichael Muré <batolettre@gmail.com>2021-03-29 11:13:40 +0200
commitf7dec7e96cff20e039d7f0d6f96d853157a6027f (patch)
treefc4bb9a585f086414da2806e04f03d20ce8b8fe5
parente985653701e8438e27ee5f925fd0aa7c0eef09fe (diff)
downloadgit-bug-f7dec7e96cff20e039d7f0d6f96d853157a6027f.tar.gz
cache: fix no-label filter not properly wired
-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
}