fix: Global search & backlink auto-complete only returns a single Page

candidate

close #1793
pull/1803/head
Tienson Qin 2021-05-11 14:53:41 +08:00
parent 2292ad8b6a
commit a28216c980
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@
(:name item))
result)
(remove nil?)
(util/distinct-by :name))))))))
(distinct))))))))
(defn file-search
([q]