I have this query and it shows me pages with the property:: value type:: [[project]]
:
#+BEGIN_QUERY
{
:title "Pages with type: [[project]] and status: [[DOING]]"
:query [:find (pull ?p [*])
:where
[?p :block/name]
[?p :block/properties ?props]
[(get ?props :type) ?type]
[(= ?type "[[project]]")]
}
#+END_QUERY
However, when I add these lines of code to the query:
[(get ?props :status) ?status]
[(= ?status "[[DOING]]")]]
I get “No results matched” even though I have this page:
What am I doing wrong?