fix: importing a class via :parent that is then used

in :type property fails
This commit is contained in:
Gabriel Horner
2024-11-22 15:01:08 -05:00
parent bfffde8b2d
commit 6f0885b374
4 changed files with 14 additions and 4 deletions

View File

@@ -194,7 +194,7 @@
(is (= 3 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Query]] @conn))))
;; Don't count pages like url.md that have properties but no content
(is (= 9
(is (= 10
(count (->> (d/q '[:find [(pull ?b [:block/title :block/type]) ...]
:where [?b :block/title] [_ :block/page ?b] (not [?b :logseq.property/built-in?])] @conn)
(filter ldb/internal-page?))))