chore: adjust search result length

This commit is contained in:
Tienson Qin
2021-04-12 20:11:18 +08:00
parent 14dfaabba4
commit 6b3142eb49
2 changed files with 2 additions and 2 deletions

View File

@@ -1756,7 +1756,7 @@
99)
(map (comp str :block/uuid))))
current-and-parents (set/union #{(str (:block/uuid current-block))} block-parents)]
(p/let [result (search/block-search (state/get-current-repo) q {:limit 25})]
(p/let [result (search/block-search (state/get-current-repo) q {:limit 20})]
(remove
(fn [h]
(contains? current-and-parents (:block/uuid h)))