-
Notifications
You must be signed in to change notification settings - Fork 109
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
Reverse sort order? #143
Comments
No, I guess that would be me. :) This is, in hindsight, an obvious oversight. I've pushed a branch that adds a Ideally, it should be usable multiple times in the list to reverse at different points in the sorting. Or maybe it should be notated like Please try the branch and let me know what you think. Thanks. |
Oh, geez. That was quick! I don't think it's an obvious oversight. It's just one of those things that, once it comes up, makes you say, "Huh. Yeah. That makes sense." Let me pull the branch and play with it. It might not happen until tomorrow. But thank you! |
Okay, n00b time. I'm not seeing an option to sort reversed (I'm calling I've also played some with a compound agenda using Also. When running
Specifically, I'm using the search query Just as a sanity check, I think I'm using the right code, but this branch is a little different than anything I've seen before. I've cloned your repo, and this is what git has to say about my current branch:
So let me know if I'm going something stupid with git here, too. |
You've described several different issues.
That usually indicates an installation problem. You haven't said how you installed or loaded the code in the branch, so I don't know if you've done something wrong. If you search for that error on this issue tracker, you should be able to find discussion about it. Generally, I would recommend deleting existing versions of the package in your config, then using a tool like Quelpa or Straight to install the package directly from the git branch. That error could explain the other problems, although it also sounds like you're not very familiar with how queries work in this package or how to enter them. The documentation should cover that thoroughly; please let me know if you find any gaps in it that I need to fill.
If you look on the tracker, you'll see discussion about adding support for arguments like that to the block function. In the meantime, I'd recommend keeping it simple and just using the |
This is a breaking change of sorts in that searches using multiple sorting methods will have to have the order of the sorters reversed to get the same result. Unfortunate, but I think it's worth it in the end, and this is pre-1.0, anyway. See #143.
Revisiting this, I've pushed a new branch,
@cgoetzke Please let me know what you think. @akirak @yantar92 @munen I'd value your input on this as well. If there aren't any issues, I'll push this to master soon, and it will be released in 0.6. Thanks. |
This is a breaking change of sorts in that searches using multiple sorting methods will have to have the order of the sorters reversed to get the same result. Unfortunate, but I think it's worth it in the end, and this is pre-1.0, anyway. See #143.
Sounds good to me, too. Nice change 👍 |
I have no objection, either. Go ahead. |
This is a breaking change of sorts in that searches using multiple sorting methods will have to have the order of the sorters reversed to get the same result. Unfortunate, but I think it's worth it in the end, and this is pre-1.0, anyway. See #143.
This is a breaking change of sorts in that searches using multiple sorting methods will have to have the order of the sorters reversed to get the same result. Unfortunate, but I think it's worth it in the end, and this is pre-1.0, anyway. See #143.
This is a breaking change of sorts in that searches using multiple sorting methods will have to have the order of the sorters reversed to get the same result. Unfortunate, but I think it's worth it in the end, and this is pre-1.0, anyway. See #143.
This is a breaking change of sorts in that searches using multiple sorting methods will have to have the order of the sorters reversed to get the same result. Unfortunate, but I think it's worth it in the end, and this is pre-1.0, anyway. See #143.
Thanks to all of you for your feedback. This is now merged to master. |
I think org-ql (with org-super-agenda) is just what I've been looking for to get really useful agendas out of org. But I'm at my wit's end trying to figure out how to get org-ql-search to sort by scheduled descending (newest items on top, oldest on bottom). I might have a custom sort function, but it doesn't look like org-ql-search can do that (I think I got it working with org-ql-select, but then I don't know what to do with the items that returns, and while I'm down to do a little customization, I'm not looking for a big project with this).
I'm hoping you can tell me I'm an idiot and just missed the obvious way to reverse the scheduled sort in org-ql-search.
The text was updated successfully, but these errors were encountered: