We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61055b0 commit f8fe663Copy full SHA for f8fe663
models/org.go
@@ -442,10 +442,6 @@ func (opts FindOrgOptions) toConds() builder.Cond {
442
}
443
if !opts.IncludePrivate {
444
cond = cond.And(builder.Eq{"`user`.visibility": structs.VisibleTypePublic})
445
- } else {
446
- cond = cond.And(builder.Eq{"`user`.visibility": structs.VisibleTypePrivate}.Or(
447
- builder.Eq{"`user`.visibility": structs.VisibleTypeLimited},
448
- ))
449
450
return cond
451
0 commit comments