From 857e72b4d08ef3c20965cb9ba513038bc155d749 Mon Sep 17 00:00:00 2001 From: nirav24 Date: Tue, 10 Jan 2023 14:32:33 -0500 Subject: [PATCH] fix doc filter for view --- db/design_doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/design_doc.go b/db/design_doc.go index d75d92bb80..a2e339c4a2 100644 --- a/db/design_doc.go +++ b/db/design_doc.go @@ -329,7 +329,7 @@ func filterViewResult(input sgbucket.ViewResult, user auth.User, applyChannelFil // Is any item of channels found in visibleChannels? func channelsIntersect(visibleChannels ch.TimedSet, channels []interface{}) bool { for _, channel := range channels { - if visibleChannels.Contains(channel.(string)) || channel == "*" { + if visibleChannels.Contains(channel.(string)) { return true } }