diff --git a/pkg/models/user.go b/pkg/models/user.go index cc96dc5..b6bc628 100644 --- a/pkg/models/user.go +++ b/pkg/models/user.go @@ -427,8 +427,8 @@ func SearchUsers(user *User, search *UserSearch, pager *Pagination) ([]*User, er } if search.InnerCircle { - wheres = append(wheres, "(inner_circle = ? OR is_admin = ?)") - placeholders = append(placeholders, true, true) + wheres = append(wheres, "inner_circle = ?") + placeholders = append(placeholders, true) } if search.ShyAccounts {