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 70891b7 commit 77efa45Copy full SHA for 77efa45
models/org.go
@@ -457,7 +457,7 @@ func (opts FindOrgOptions) toConds() builder.Cond {
457
cond = cond.And(builder.Eq{"`org_user`.uid": opts.UserID})
458
}
459
if !opts.IncludePrivate {
460
- cond = cond.And(builder.Eq{"`user`.visibility=?": structs.VisibleTypePublic})
+ cond = cond.And(builder.Eq{"`user`.visibility": structs.VisibleTypePublic})
461
462
return cond
463
0 commit comments