org-ql
org-ql copied to clipboard
Grouping issue on narrowed buffer
When running (org-ql-search (current-buffer) '(tags "test") :super-groups '((:auto-parent t)))
on below buffer:
* Shopping :test:
** Apples
* Bills :test:
** Water
If the buffer is narrowed to Shopping
, the search result would look like this:
Shopping
Apples :test:
Bills :test:
Water :test:
Other items
Shopping :test:
There should be a Bills group, but there isn't. Both "Bills" and "Water" are grouped under "Shopping".
You have two headings with h1
in their name--which one did you narrow to?
Anyway, this is likely an issue with org-super-agenda
, see https://github.com/alphapapa/org-super-agenda/blob/3108bc3f725818f0e868520d2c243abe9acbef4e/org-super-agenda.el#L1073 Maybe if you widen
around that, it will fix it.
You have two headings with
h1
in their name--which one did you narrow to?Anyway, this is likely an issue with
org-super-agenda
, see https://github.com/alphapapa/org-super-agenda/blob/3108bc3f725818f0e868520d2c243abe9acbef4e/org-super-agenda.el#L1073 Maybe if youwiden
around that, it will fix it.
sorry, I made the test data quite hard to read. I've updated it to be more readable.