user: do not leak virtuals in account search

This commit is contained in:
William Pitcock 2018-08-06 10:57:19 +00:00
parent ecfd4b2106
commit d91fd48edf
1 changed files with 2 additions and 1 deletions

View File

@ -499,7 +499,8 @@ def search(query, resolve) do
u.nickname, u.nickname,
u.name u.name
) )
} },
where: not is_nil(u.nickname)
) )
q = q =