mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 06:35:02 +00:00
fix: no matched search results for page reference autocomplete
This commit is contained in:
@@ -1560,7 +1560,7 @@
|
||||
editing-page (and block
|
||||
(when-let [page-id (:db/id (:block/page block))]
|
||||
(:block/name (db/entity page-id))))
|
||||
pages (search/page-search q 20)]
|
||||
pages (search/page-search q 100)]
|
||||
(if editing-page
|
||||
;; To prevent self references
|
||||
(remove (fn [p] (= (util/page-name-sanity-lc p) editing-page)) pages)
|
||||
|
||||
Reference in New Issue
Block a user