mirror of https://github.com/logseq/logseq
enhance: separate properties using ;
parent
0eaba12b4a
commit
44617ab8ca
|
@ -281,7 +281,7 @@
|
||||||
(when (or (seq blocks-to-add) (seq blocks-to-remove))
|
(when (or (seq blocks-to-add) (seq blocks-to-remove))
|
||||||
(transact-blocks! repo
|
(transact-blocks! repo
|
||||||
{:blocks-to-remove-set (set (map :db/id blocks-to-remove))
|
{:blocks-to-remove-set (set (map :db/id blocks-to-remove))
|
||||||
:blocks-to-add (map search-db/block->index blocks-to-add)}))))
|
:blocks-to-add (remove nil? (map search-db/block->index blocks-to-add))}))))
|
||||||
|
|
||||||
(defn rebuild-indices!
|
(defn rebuild-indices!
|
||||||
([]
|
([]
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
": "
|
": "
|
||||||
value)))))
|
value)))))
|
||||||
(remove nil?)
|
(remove nil?)
|
||||||
(string/join "\n")))
|
(string/join "; ")))
|
||||||
|
|
||||||
(defn block->index
|
(defn block->index
|
||||||
"Convert a block to the index for searching"
|
"Convert a block to the index for searching"
|
||||||
|
|
Loading…
Reference in New Issue