Fix inner circle search on member directory
This commit is contained in:
parent
ec9d2d6939
commit
f3925c1095
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user