mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
Fix nested boolean case - close #4510
This commit is contained in:
committed by
Tienson Qin
parent
e959e257b7
commit
3a19687988
@@ -162,7 +162,13 @@ prop-d:: nada"}])
|
||||
(map
|
||||
:block/name
|
||||
(dsl-query "(and (page-property parent [[child page 2]]) (not (page-property foo bar)))")))
|
||||
"Page property queries NOTed"))
|
||||
"Page property queries nested NOT in second clause")
|
||||
|
||||
(is (= ["page4"]
|
||||
(map
|
||||
:block/name
|
||||
(dsl-query "(and (not (page-property foo bar)) (page-property parent [[child page 2]]))")))
|
||||
"Page property queries nested NOT in first clause"))
|
||||
|
||||
(deftest task-queries
|
||||
(load-test-files [{:file/path "pages/page1.md"
|
||||
|
||||
Reference in New Issue
Block a user