Closed iT-Boyer closed 1 year ago
fix by https://github.com/alphapapa/org-ql/issues/241#issuecomment-895334584
(setq itemTitle "hello world")
(setq test (org-ql-query
:select '(org-get-entry)
:from buffers-files
:where `(and
(ancestors (heading, itemTitle))
(heading "system")
)
))
I need to query related items by statement and then get the content.
Now I want to set the heading value dynamically, but I cannot query the result when the heading is set as a variable.