Fix: (org-dblock-write:org-ql) Resolve element properties
Fixes <https://github.com/alphapapa/org-ql/issues/431>. Reported-by: Jez Cope <https://github.com/jezcope>
This commit is contained in:
parent
ffc3477013
commit
b362dd68b0
3 changed files with 51 additions and 42 deletions
|
|
@ -347,7 +347,8 @@ this (must be a single line in the Org buffer):
|
|||
(org-element-property (intern (concat ":" (upcase property))) element)))))
|
||||
(elements (org-ql-query :from (current-buffer)
|
||||
:where query
|
||||
:select '(org-element-headline-parser (line-end-position))
|
||||
:select '(org-ql-view--resolve-element-properties
|
||||
(org-element-headline-parser (line-end-position)))
|
||||
:order-by sort)))
|
||||
(when take
|
||||
(setf elements (cl-etypecase take
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue