fix: most imported journal pages didn't have #Journal

Fixes LOG-3234
This commit is contained in:
Gabriel Horner
2024-09-17 11:31:26 -04:00
parent 45f8922d6e
commit 85af06beb3
2 changed files with 4 additions and 1 deletions

View File

@@ -168,6 +168,7 @@
;; Counts
;; Includes journals as property values e.g. :logseq.task/deadline
(is (= 18 (count (d/q '[:find ?b :where [?b :block/type "journal"]] @conn))))
(is (= 18 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Journal]] @conn))))
;; Don't count pages like url.md that have properties but no content
(is (= 7