Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-defined sorting signals an error in org-ql-select #37

Closed
mz-pdm opened this issue Aug 25, 2019 · 1 comment
Closed

User-defined sorting signals an error in org-ql-select #37

mz-pdm opened this issue Aug 25, 2019 · 1 comment

Comments

@mz-pdm
Copy link

mz-pdm commented Aug 25, 2019

When I pass a function symbol as `sort' argument to org-ql-select, I get error "SORT must be either nil, or one or a list of the defined sorting methods (see documentation)". I think this is because of the line

(setq sort (-list sort))

that changes the type of `sort' from a function symbol to a list.

@alphapapa
Copy link
Owner

Thanks for reporting that. It should be fixed now.

It also gave me the idea to add a random built-in sorter, which I just did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants