mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
fix: db import of namespaced tags across multiple pages
Fixes conflicting upserts seen in https://github.com/logseq/db-test/issues/7#issuecomment-2480564898
This commit is contained in:
@@ -179,8 +179,8 @@
|
||||
|
||||
;; Counts
|
||||
;; Includes journals as property values e.g. :logseq.task/deadline
|
||||
(is (= 21 (count (d/q '[:find ?b :where [?b :block/type "journal"]] @conn))))
|
||||
(is (= 21 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Journal]] @conn))))
|
||||
(is (= 22 (count (d/q '[:find ?b :where [?b :block/type "journal"]] @conn))))
|
||||
(is (= 22 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Journal]] @conn))))
|
||||
|
||||
(is (= 4 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Task]] @conn))))
|
||||
(is (= 3 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Query]] @conn))))
|
||||
|
||||
Reference in New Issue
Block a user