Fix: (ancestors, parent) Normalize sub-queries
I'm not sure why calling the REC labeled function didn't correctly normalize these sub-queries; it seemed to only normalize for one round, leaving some queries incorrectly normalized. But this fixes it. Fixes #365. Reported-by: Gabriele Mongiano <https://github.com/kofm>
This commit is contained in:
parent
b6efba9aeb
commit
c90bae0eab
4 changed files with 58 additions and 41 deletions
|
|
@ -557,6 +557,7 @@ Simple links may also be written manually in either sexp or non-sexp form, like:
|
|||
|
||||
*Fixes*
|
||||
+ Predicate ~heading~ incorrectly matched strings as regular expressions, sometimes returning incorrect results. (See [[https://github.com/alphapapa/org-ql/discussions/410][discussion]]. Thanks to [[https://github.com/al3xandru][Alex Popescu]] for reporting.)
|
||||
+ Predicates ~ancestor~ and ~parent~ did not normalize their sub-queries, sometimes returning incorrect results. ([[https://github.com/alphapapa/org-ql/issues/365][#365]]. Thanks to [[https://github.com/kofm][Gabriele Mongiano]] for reporting.)
|
||||
|
||||
** 0.8.4
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue