Fix inner circle search on member directory

This commit is contained in:
Noah Petherbridge 2024-07-20 20:32:19 -07:00
parent ec9d2d6939
commit f3925c1095

View File

@ -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 {