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))
|
||||
(transact-blocks! repo
|
||||
{: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!
|
||||
([]
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
": "
|
||||
value)))))
|
||||
(remove nil?)
|
||||
(string/join "\n")))
|
||||
(string/join "; ")))
|
||||
|
||||
(defn block->index
|
||||
"Convert a block to the index for searching"
|
||||
|
|
Loading…
Reference in New Issue