projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9d62a1
)
handle null
author
cascode
<cascode@amplifie.red>
Fri, 4 Jan 2019 09:35:26 +0000
(
01:35
-0800)
committer
cascode
<cascode@amplifie.red>
Fri, 4 Jan 2019 09:35:26 +0000
(
01:35
-0800)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 1edded4151fe0e4a16a9635acec473c04c77c6a8..0e5e2d943e79d5dffd256d9f560df1245b2b7044 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-610,7
+610,7
@@
defmodule Pleroma.User do
select_merge: %{
search_distance:
fragment(
- "? <-> (? ||
?
)",
+ "? <-> (? ||
coalesce(?, '')
)",
^query,
u.nickname,
u.name