mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
fix: importing a class via :parent that is then used
in :type property fails
This commit is contained in:
@@ -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?))))
|
||||
|
||||
Reference in New Issue
Block a user