-
Notifications
You must be signed in to change notification settings - Fork 102
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
custom sort predicates for org-ql--sort-by? #366
Comments
ended up with something like this for now..
|
Hi, Yes, unlike search predicates with Lines 412 to 423 in e8eff5d
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies if it's a duplicate -- I searched over issues/prs and didn't find anything existing
I want to sort the results of
org-ql-search
by a "created" timestamp -- in my case it's either aCREATED
property or just a first inactive timestamp in the outline (e.g.* [#B] [2022-08-01 Mon 00:38] some note
).I went through the source code
org-ql/org-ql.el
Lines 2400 to 2436 in eb53773
I'm happy to try and contribute support for custom predicates, just want to double check first that would fit into the library. E.g. I imagine it might have some impact on caching?
I imagine as a workaround I could abuse existing
org-ql--date<
sorting key and override it to extract theCREATED
property or something like that.Thanks!
The text was updated successfully, but these errors were encountered: