mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 01:16:27 +00:00
fix: aliasing of namespaced pages broken
Also fixes docs graph warnings about ignored attributes
This commit is contained in:
committed by
Tienson Qin
parent
f58f83eb38
commit
3dff9e26c0
@@ -320,6 +320,14 @@
|
||||
(is (= #{"gpt"}
|
||||
(:block/alias (readable-properties @conn (db-test/find-page-by-title @conn "chat-gpt"))))
|
||||
"alias set correctly")
|
||||
(is (= ["y"]
|
||||
(->> (d/q '[:find [?b ...] :where [?b :block/title "y"] [?b :logseq.property/parent]]
|
||||
@conn)
|
||||
first
|
||||
(d/entity @conn)
|
||||
:block/alias
|
||||
(map :block/title)))
|
||||
"alias set correctly on namespaced page")
|
||||
|
||||
(is (= {:logseq.property.linked-references/includes #{"Oct 9th, 2024"}
|
||||
:logseq.property.linked-references/excludes #{"ref2"}}
|
||||
|
||||
Reference in New Issue
Block a user