1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-28 23:15:07 +01:00

handle null

This commit is contained in:
cascode 2019-01-04 01:35:26 -08:00
parent d9d62a110c
commit 5b23dfa1c5

View File

@ -610,7 +610,7 @@ defmodule Pleroma.User do
select_merge: %{
search_distance:
fragment(
"? <-> (? || ?)",
"? <-> (? || coalesce(?, ''))",
^query,
u.nickname,
u.name