Skip to content

Grouping the output of org-ql-search by category #363

@kofm

Description

@kofm

Hello,

Firstly, I would like to express my appreciation for this incredible package!

I am currently experiencing an issue with using :super-groups to group the output of my queries by category. I'm not sure if this is due to an error on my part, or if it's a bug in the system.

Steps to reproduce:

I created a minimal reproducible example in test.org as follows:

* Title
** TODO Test
:PROPERTIES:
:CATEGORY:Test
:END:

I ran the following query:

(org-ql-search  "/tmp/test.org" '(todo "TODO")  :super-groups '((:name "test" :category "test")))

Expected Result:

I expected the output to be grouped by the category "Test".

Actual Result:

The output was not grouped as expected. Here is a screenshot of the result:

image

When I used :auto-category t as :super-groups, it worked as expected:

(org-ql-search  "/tmp/test.org" '(todo "TODO") :super-groups '((:auto-category t)))

image

Could you kindly assist me in understanding if this is a bug or if there is a mistake in my usage of the :super-groups option?

Thank you for your time and assistance.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions