mirror of
https://github.com/logseq/logseq.git
synced 2026-05-26 05:34:07 +00:00
fix: Aliases where both pages exist break linked references
related to #6263
This commit is contained in:
@@ -1225,7 +1225,9 @@
|
||||
db-utils/group-by-page
|
||||
(map (fn [[k blocks]]
|
||||
(let [k (if (contains? aliases (:db/id k))
|
||||
(assoc k :block/alias? true)
|
||||
{:db/id (:db/id k)
|
||||
:block/alias? true
|
||||
:block/journal-day (:block/journal-day k)}
|
||||
k)]
|
||||
[k blocks])))))))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user