handle null
This commit is contained in:
parent
d9d62a110c
commit
5b23dfa1c5
@ -610,7 +610,7 @@ defmodule Pleroma.User do
|
||||
select_merge: %{
|
||||
search_distance:
|
||||
fragment(
|
||||
"? <-> (? || ?)",
|
||||
"? <-> (? || coalesce(?, ''))",
|
||||
^query,
|
||||
u.nickname,
|
||||
u.name
|
||||
|
Loading…
Reference in New Issue
Block a user