forked from AkkomaGang/akkoma
handle null
This commit is contained in:
parent
d9d62a110c
commit
5b23dfa1c5
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ def search(query, resolve \\ false) do
|
||||||
select_merge: %{
|
select_merge: %{
|
||||||
search_distance:
|
search_distance:
|
||||||
fragment(
|
fragment(
|
||||||
"? <-> (? || ?)",
|
"? <-> (? || coalesce(?, ''))",
|
||||||
^query,
|
^query,
|
||||||
u.nickname,
|
u.nickname,
|
||||||
u.name
|
u.name
|
||||||
|
|
Loading…
Reference in a new issue